aboutsummaryrefslogtreecommitdiff
path: root/man/mkinfit.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-04-16 10:03:02 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-04-16 10:03:02 +0200
commit10fb9aac470d87afbe2d4ee9e3d1898bfc3f1aa7 (patch)
treea1ee701046f3ccc69a05eb9e5461cf8167e3ddda /man/mkinfit.Rd
parentd34e5c053794a08cc73c9042ccccfb334ae0f62d (diff)
parent7f5455e1a49f44a0fa341ee7cca86dfb03e273a2 (diff)
Merge branch 'compile_odes'
Diffstat (limited to 'man/mkinfit.Rd')
-rw-r--r--man/mkinfit.Rd6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/mkinfit.Rd b/man/mkinfit.Rd
index 9c82f5ff..4b0ad1a7 100644
--- a/man/mkinfit.Rd
+++ b/man/mkinfit.Rd
@@ -235,7 +235,8 @@ SFO_SFO <- mkinmod(
parent = list(type = "SFO", to = "m1", sink = TRUE),
m1 = list(type = "SFO"))
# Fit the model to the FOCUS example dataset D using defaults
-fit <- mkinfit(SFO_SFO, FOCUS_2006_D)
+fit <- mkinfit(SFO_SFO, FOCUS_2006_D, solution_type = "eigen")
+fit.deSolve <- mkinfit(SFO_SFO, FOCUS_2006_D, solution_type = "deSolve")
summary(fit)
# Use stepwise fitting, using optimised parameters from parent only fit, FOMC
@@ -258,10 +259,10 @@ SFORB_SFO <- mkinmod(
m1 = list(type = "SFO"))
# Fit the model to the FOCUS example dataset D using defaults
fit.SFORB_SFO <- mkinfit(SFORB_SFO, FOCUS_2006_D)
+fit.SFORB_SFO.deSolve <- mkinfit(SFORB_SFO, FOCUS_2006_D, solution_type = "deSolve")
# Use starting parameters from parent only SFORB fit (not really needed in this case)
fit.SFORB = mkinfit(SFORB, FOCUS_2006_D)
fit.SFORB_SFO <- mkinfit(SFORB_SFO, FOCUS_2006_D, parms.ini = fit.SFORB$bparms.ode)
-}
# Weighted fits, including IRLS
SFO_SFO.ff <- mkinmod(parent = list(type = "SFO", to = "m1"),
@@ -275,6 +276,7 @@ summary(f.w.mean)
f.w.mean.irls <- mkinfit(SFO_SFO.ff, FOCUS_2006_D, weight = "mean",
reweight.method = "obs")
summary(f.w.mean.irls)
+}
\dontrun{
# Manual weighting

Contact - Imprint