aboutsummaryrefslogtreecommitdiff
path: root/man/nlme.mmkin.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-10-22 13:14:31 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-10-22 13:17:40 +0200
commit0af6a61b84cc29cdbfad16a6fc7ee0e6f88c7d0f (patch)
tree7cb2715570688cac8c94b58e4ef78ba8afa29cc3 /man/nlme.mmkin.Rd
parentcb3adccaa4cdebc36c506fcb76c0d7c1d7e4e455 (diff)
Really fix check for nlme::varConstProp
And add output for nlme fit translating the mkinfit error model "obs" into nlme::varIdent().
Diffstat (limited to 'man/nlme.mmkin.Rd')
-rw-r--r--man/nlme.mmkin.Rd3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/nlme.mmkin.Rd b/man/nlme.mmkin.Rd
index 0af670a0..08ce1ad8 100644
--- a/man/nlme.mmkin.Rd
+++ b/man/nlme.mmkin.Rd
@@ -131,7 +131,7 @@ endpoints(f_nlme_dfop)
endpoints(f_nlme_sfo_sfo)
endpoints(f_nlme_dfop_sfo)
- if (findFunction("varConstProp")) { # tc error model for nlme available
+ if (length(findFunction("varConstProp")) > 0) { # tc error model for nlme available
# Attempts to fit metabolite kinetics with the tc error model
#f_2_tc <- mmkin(list("SFO-SFO" = m_sfo_sfo,
# "SFO-SFO-ff" = m_sfo_sfo_ff,
@@ -156,6 +156,7 @@ endpoints(f_nlme_dfop)
"DFOP-SFO" = m_dfop_sfo),
ds_2, quiet = TRUE, error_model = "obs")
f_nlme_sfo_sfo_obs <- nlme(f_2_obs["SFO-SFO", ])
+ print(f_nlme_sfo_sfo_obs)
# The same with DFOP-SFO does not converge, apparently the variances of
# parent and A1 are too similar in this case, so that the model is
# overparameterised

Contact - Imprint