aboutsummaryrefslogtreecommitdiff
path: root/man/mkinmod.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-11-30 14:50:33 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-11-30 14:50:33 +0100
commit78884beed74c18c99521b9ceeaa643e13cf94c06 (patch)
treeaf1ebfd975cac837a6bf15c86638299a67a0e017 /man/mkinmod.Rd
parentb3bebc06061cc77b6d549f7b2760afe0b9489bf7 (diff)
Log-Cholesky parameterisation as default in nlme.mmkin
Diffstat (limited to 'man/mkinmod.Rd')
-rw-r--r--man/mkinmod.Rd6
1 files changed, 5 insertions, 1 deletions
diff --git a/man/mkinmod.Rd b/man/mkinmod.Rd
index 77319aac..95cec09a 100644
--- a/man/mkinmod.Rd
+++ b/man/mkinmod.Rd
@@ -155,13 +155,17 @@ print(SFO_SFO)
fit_sfo_sfo <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE, solution_type = "deSolve")
# Now supplying compound names used for plotting, and write to user defined location
+ # We need to choose a path outside the session tempdir because this gets removed
+ DLL_dir <- "~/.local/share/mkin"
+ if (!dir.exists(DLL_dir)) dir.create(DLL_dir)
SFO_SFO.2 <- mkinmod(
parent = mkinsub("SFO", "m1", full_name = "Test compound"),
m1 = mkinsub("SFO", full_name = "Metabolite M1"),
- name = "SFO_SFO", dll_dir = "~/dll", unload = TRUE, overwrite = TRUE)
+ name = "SFO_SFO", dll_dir = DLL_dir, unload = TRUE, overwrite = TRUE)
# Now we can save the model and restore it in a new session
saveRDS(SFO_SFO.2, file = "~/SFO_SFO.rds")
# Terminate the R session here if you would like to check, and then do
+library(mkin)
SFO_SFO.3 <- readRDS("~/SFO_SFO.rds")
fit_sfo_sfo <- mkinfit(SFO_SFO.3, FOCUS_2006_D, quiet = TRUE, solution_type = "deSolve")

Contact - Imprint