Plot model fits (observed and fitted) and the residuals for a row or column of an mmkin object

Usage

"plot"(x, main = "auto", legends = 1, errmin_var = "All data", errmin_digits = 2, cex = 0.7, rel.height.middle = 0.9, ...)

Arguments

x
An object of class mmkin, with either one row or one column.
main
The main title placed on the outer margin of the plot.
legends
An index for the fits for which legends should be shown.
errmin_var
The variable for which the FOCUS chi2 error value should be shown.
errmin_digits
The number of digits for rounding the FOCUS chi2 error percentage.
cex
Passed to the plot functions and mtext.
rel.height.middle
The relative height of the middle plot.
...
Further arguments passed to plot.mkinfit and mkinresplot.

Description

When x is a row selected from an mmkin object ([.mmkin), the same model fitted for at least one dataset is shown. When it is a column, the fit of at least one model to the same dataset is shown.

Value

The function is called for its side effect.

Examples

# 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), cores = 1, quiet = TRUE) plot(fits[, "FOCUS C"])

plot(fits["FOMC", ])

Author

Johannes Ranke