set.seed(124)
exposure <- data.frame(
time = 0:21,
conc = rnorm(n = 22, mean = 0.1, sd = 0.06),
trial = "T1"
)
forcings <- list(temp = 12, rad = 15000)
param <- list(EC50 = 0.3, b = 4.16, P_up = 0.0054)
inits <- list(BM = 0.0012, E = 1, M_int = 0)
scenario <- Lemna_Schmitt() %>%
set_forcings(forcings) %>%
set_param(param) %>%
set_init(inits)
sim_result <- simulate_batch(
model_base = scenario,
treatments = exposure,
param_sample = NULL
)
plot_sd(
model_base = scenario,
treatments = exposure,
rs_mean = sim_result
)
Run the code above in your browser using DataLab