diff options
Diffstat (limited to 'tests/testthat/setup_script.R')
-rw-r--r-- | tests/testthat/setup_script.R | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/testthat/setup_script.R b/tests/testthat/setup_script.R index 81f9248d..1bedbf65 100644 --- a/tests/testthat/setup_script.R +++ b/tests/testthat/setup_script.R @@ -158,3 +158,17 @@ mmkin_biphasic_mixed <- mixed(mmkin_biphasic) nlme_biphasic <- nlme(mmkin_biphasic) saem_biphasic_m <- saem(mmkin_biphasic, transformations = "mkin", quiet = TRUE) saem_biphasic_s <- saem(mmkin_biphasic, transformations = "saemix", quiet = TRUE) + +ds_uba <- lapply(experimental_data_for_UBA_2019[6:10], + function(x) subset(x$data[c("name", "time", "value")])) +names(ds_uba) <- paste("Dataset", 6:10) +sfo_sfo_uba <- mkinmod(parent = mkinsub("SFO", "A1"), + A1 = mkinsub("SFO")) +dfop_sfo_uba <- mkinmod(parent = mkinsub("DFOP", "A1"), + A1 = mkinsub("SFO")) +f_uba_mmkin <- mmkin(list("SFO-SFO" = sfo_sfo_uba, "DFOP-SFO" = dfop_sfo_uba), + ds_uba, quiet = TRUE) +f_uba_dfop_sfo_mixed <- mixed(f_uba_mmkin[2, ]) +f_uba_sfo_sfo_saem <- saem(f_uba_mmkin["SFO-SFO", ], quiet = TRUE, transformations = "saemix") +#f_uba_sfo_sfo_saem <- saem(f_uba_mmkin["SFO-SFO", ], solution_type = "deSolve", quiet = TRUE) # currently fails +f_uba_dfop_sfo_saem <- saem(f_uba_mmkin["DFOP-SFO", ], quiet = TRUE, transformations = "saemix") |