aboutsummaryrefslogtreecommitdiff
path: root/man/sigma_twocomp.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-10-27 15:34:14 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-10-27 15:36:46 +0100
commita5874ab7fce4616e80be69366ff0685332f47bf1 (patch)
tree17f36842de8ff457879be152779f8704f06a4787 /man/sigma_twocomp.Rd
parentca1b4c8cdb1de72b44df0ee8cebe11e10814efdf (diff)
Add summary method for nlme.mmkin objects
Improve and update docs
Diffstat (limited to 'man/sigma_twocomp.Rd')
-rw-r--r--man/sigma_twocomp.Rd11
1 files changed, 2 insertions, 9 deletions
diff --git a/man/sigma_twocomp.Rd b/man/sigma_twocomp.Rd
index ed79d493..d205a2f7 100644
--- a/man/sigma_twocomp.Rd
+++ b/man/sigma_twocomp.Rd
@@ -44,15 +44,8 @@ f_gnls <- gnls(value ~ SSasymp(time, 0, parent_0, lrc),
data = d_syn, na.action = na.omit,
start = list(parent_0 = 100, lrc = -3))
if (length(findFunction("varConstProp")) > 0) {
- f_gnls_tc <- gnls(value ~ SSasymp(time, 0, parent_0, lrc),
- data = d_syn, na.action = na.omit,
- start = list(parent_0 = 100, lrc = -3),
- weights = varConstProp())
- f_gnls_tc_sf <- gnls(value ~ SSasymp(time, 0, parent_0, lrc),
- data = d_syn, na.action = na.omit,
- start = list(parent_0 = 100, lrc = -3),
- control = list(sigma = 1),
- weights = varConstProp())
+ f_gnls_tc <- update(f_gnls, weights = varConstProp())
+ f_gnls_tc_sf <- update(f_gnls_tc, control = list(sigma = 1))
}
f_mkin <- mkinfit("SFO", d_syn, error_model = "const", quiet = TRUE)
f_mkin_tc <- mkinfit("SFO", d_syn, error_model = "tc", quiet = TRUE)

Contact - Imprint