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 /R/logLik.mkinfit.R | |
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 'R/logLik.mkinfit.R')
-rw-r--r-- | R/logLik.mkinfit.R | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/R/logLik.mkinfit.R b/R/logLik.mkinfit.R index 1c025893..7cc10234 100644 --- a/R/logLik.mkinfit.R +++ b/R/logLik.mkinfit.R @@ -25,10 +25,10 @@ #' 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) #' } #' |