From e7b2d16306b7d03cde66223c9b27abde928f9447 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 18 Nov 2016 16:28:49 +0100 Subject: Improve examples for showing with pkgdown - Use quiet= TRUE in dontrun sections - Use mkinsub in model definitions - Avoid \code{\link{}} in titles --- man/plot.mmkin.Rd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'man/plot.mmkin.Rd') 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]) } -- cgit v1.2.1