diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2021-02-04 11:24:22 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2021-02-04 11:41:06 +0100 |
commit | ac183c732317cf6ede26a2ee127604a407f0a6b3 (patch) | |
tree | 2283709a2e01206af576a9cf324f54fbfab972d0 /man/logLik.mkinfit.Rd | |
parent | 83798cce97e73ec3bfd11b8cb4e2929e5089aaeb (diff) |
Documentation improvements, mainly fixing example code
The errors in the example code were in the \dontrun sections, so they
were not caught by CRAN checks. In addition, the static help files
generated with pkgdown were cached, so I noticed the errors only
after completely regenerating the documentation for version 1.0.0.
Diffstat (limited to 'man/logLik.mkinfit.Rd')
-rw-r--r-- | man/logLik.mkinfit.Rd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/logLik.mkinfit.Rd b/man/logLik.mkinfit.Rd index 637570e4..6b40305e 100644 --- a/man/logLik.mkinfit.Rd +++ b/man/logLik.mkinfit.Rd @@ -35,10 +35,10 @@ and the fitted error model parameters. parent = mkinsub("SFO", to = "m1"), m1 = mkinsub("SFO") ) - d_t <- FOCUS_2006_D + d_t <- subset(FOCUS_2006_D, value != 0) f_nw <- mkinfit(sfo_sfo, d_t, quiet = TRUE) # no weighting (weights are unity) - f_obs <- mkinfit(sfo_sfo, d_t, error_model = "obs", quiet = TRUE) - f_tc <- mkinfit(sfo_sfo, d_t, error_model = "tc", quiet = TRUE) + f_obs <- update(f_nw, error_model = "obs") + f_tc <- update(f_nw, error_model = "tc") AIC(f_nw, f_obs, f_tc) } |