Open sashahafner opened 1 year ago
hmm.. something like this?
results <- sapply(variables, function(var) pars$conc_init[[var]] * slurry_mass_init) list2env(as.list(results), envir = .GlobalEnv)
but this will give a problem in some of the carbon accounting code, will check how to solve..
Things like this:
Can't we do it by using the whole pars$... list at once?