diff options
| author | Johannes Ranke <jranke@uni-bremen.de> | 2016-11-18 16:28:49 +0100 | 
|---|---|---|
| committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-11-18 16:28:49 +0100 | 
| commit | e7b2d16306b7d03cde66223c9b27abde928f9447 (patch) | |
| tree | 85d650cfb8e071b00a1228566ec788dc1b477809 /man/plot.mmkin.Rd | |
| parent | 8bdb67360502bd1a8eb5317d287b094510b4a02c (diff) | |
Improve examples for showing with pkgdown
- Use quiet= TRUE in dontrun sections
- Use mkinsub in model definitions
- Avoid \code{\link{}} in titles
Diffstat (limited to 'man/plot.mmkin.Rd')
| -rw-r--r-- | man/plot.mmkin.Rd | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/man/plot.mmkin.Rd b/man/plot.mmkin.Rd index 57f69c90..7f3460d3 100644 --- a/man/plot.mmkin.Rd +++ b/man/plot.mmkin.Rd @@ -46,13 +46,14 @@  }  \examples{    # Only use one core not to offend CRAN checks, use Levenberg-Marquardt for speed -  fits <- mmkin(c("FOMC", "HS"), list("FOCUS B" = FOCUS_2006_B, "FOCUS C" = FOCUS_2006_C), +  fits <- mmkin(c("FOMC", "HS"),  +                list("FOCUS B" = FOCUS_2006_B, "FOCUS C" = FOCUS_2006_C), # named list for titles                  cores = 1, quiet = TRUE, method.modFit = "Marq")    plot(fits[, "FOCUS C"])    plot(fits["FOMC", ]) -  # We can also plot a single fit, if we like the way mmkin works, but then the plot +  # We can also plot a single fit, if we like the way plot.mmkin works, but then the plot    # height should be smaller than the plot width (this is not possible for the html pages -  # generated by staticdocs, as far as I know). +  # generated by pkgdown, as far as I know).    plot(fits["FOMC", "FOCUS C"]) # same as plot(fits[1, 2])  } | 
