aboutsummaryrefslogtreecommitdiff
path: root/man/mkinfit.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-06-27 13:21:39 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-06-27 13:38:38 +0200
commit4b0b5346a9f026c5a19d452e4649326fe56d464c (patch)
tree2795eb7eaf6f68dfd6fbbcb8a3cf92224cf81f0d /man/mkinfit.Rd
parentb14fe21e176f523e800793102fb5634e468b3165 (diff)
Improve listing of weights in output, update NEWS
Diffstat (limited to 'man/mkinfit.Rd')
-rw-r--r--man/mkinfit.Rd11
1 files changed, 5 insertions, 6 deletions
diff --git a/man/mkinfit.Rd b/man/mkinfit.Rd
index e4041755..db2f7fda 100644
--- a/man/mkinfit.Rd
+++ b/man/mkinfit.Rd
@@ -51,9 +51,9 @@ mkinfit(mkinmod, observed,
name of the observed variable for each data point. The second column must
contain the times of observation, named "time". The third column must be
named "value" and contain the observed values. Optionally, a further column
- can contain weights for each data point. If it is not named "err", its name
- must be passed as a further argument named \code{err} which is then passed
- on to \code{\link{modFit}}.
+ can contain weights for each data point. Its name must be passed as a
+ further argument named \code{err} which is then passed on to
+ \code{\link{modFit}}.
}
\item{parms.ini}{
A named vector of initial values for the parameters, including parameters
@@ -303,9 +303,8 @@ f.irls <- mkinfit(SFO_SFO.ff, FOCUS_2006_D, reweight.method = "obs")
summary(f.irls)
f.w.mean <- mkinfit(SFO_SFO.ff, FOCUS_2006_D, weight = "mean")
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)
+f.w.value <- mkinfit(SFO_SFO.ff, subset(FOCUS_2006_D, value != 0), err = "value")
+summary(f.w.value)
}
\dontrun{

Contact - Imprint