From e5d1df9a9b1f0951d7dfbaf24eee4294470b73e2 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
An object of class mmkin
, with either one row or one
column.
The main title placed on the outer margin of the plot.
An index for the fits for which legends should be shown.
Should the residuals plotted against time, using
mkinresplot
, or as squared residuals against predicted
values, with the error model, using mkinerrplot
.
Label for the y axis.
Should the residuals be standardized? This option
is passed to mkinresplot
, it only takes effect if
resplot = "time"
.
Should the chi2 error level be shown on top of the plots to the left?
The variable for which the FOCUS chi2 error value should be shown.
The number of significant digits for rounding the FOCUS chi2 error percentage.
Passed to the plot functions and mtext
.
The relative height of the middle plot, if more than two rows of plots are shown.
Maximum y axis value for plot.mkinfit
.
Further arguments passed to plot.mkinfit
and
mkinresplot
.
The function is called for its side effect.
+ + +The function is called for its side effect.
- # \dontrun{
- # Only use one core not to offend CRAN checks
- fits <- mmkin(c("FOMC", "HS"),
- list("FOCUS B" = FOCUS_2006_B, "FOCUS C" = FOCUS_2006_C), # named list for titles
- cores = 1, quiet = TRUE, error_model = "tc")
+
+ # \dontrun{
+ # Only use one core not to offend CRAN checks
+ fits <- mmkin(c("FOMC", "HS"),
+ list("FOCUS B" = FOCUS_2006_B, "FOCUS C" = FOCUS_2006_C), # named list for titles
+ cores = 1, quiet = TRUE, error_model = "tc")
#> Warning: Optimisation did not converge:
#> iteration limit reached without convergence (10)
- plot(fits[, "FOCUS C"])
+ plot(fits[, "FOCUS C"])
- plot(fits["FOMC", ])
+ plot(fits["FOMC", ])
- plot(fits["FOMC", ], show_errmin = FALSE)
+ plot(fits["FOMC", ], show_errmin = FALSE)
-
- # 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 pkgdown, as far as I know).
- plot(fits["FOMC", "FOCUS C"]) # same as plot(fits[1, 2])
+
+ # 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 pkgdown, as far as I know).
+ plot(fits["FOMC", "FOCUS C"]) # same as plot(fits[1, 2])
-
- # Show the error models
- plot(fits["FOMC", ], resplot = "errmod")
+
+ # Show the error models
+ plot(fits["FOMC", ], resplot = "errmod")
- # }
-
+ # }
+