| get_set_qqplot_param {nvmix} | R Documentation |
Plotting parameters for QQ Plots
Description
Plotting parameters for the method plot() of the class
qqplot_maha.
Usage
get_set_qqplot_param(plot.pars = list(log = ""))
Arguments
plot.pars |
|
Details
This function provides a convenient way to set plotting parameters in the
argument plot.pars of the
function qqplot_maha() (more precisely, the underlying
plot() method), such as logarithmic plotting, colors, linetypes and more.
The input list plot.pars can contain any of the following:
logcharacterspecifying the logarithmic axes. Just like for the genericplot, must be one of"","x","y"or"xy".xlim, ylimThe x- and y-limits for plotting.
xlab, ylabcharacterspecifying the x- and y-axis labels. Default to"Theoretical quantiles"and"Sample quantiles", respectively.sub, maincharacterspecifying title and subtitle of the plot; default to"", so no titles.plot_legend, plot_test, plot_linelogicalspecifying if a legend should be plotted; if the test result of the GoF test should be displayed on the 3rd axis and if the plot should contain a fitted line. All default toTRUE.pchspecification of the plotting symbol; see
?points(). Defaults to1.lty3-
vectorcontaining the specification of the linetypes for i) the diagonal, ii) the asymptotic CI and iii) the bootstrap CI; see also?par(). Defaults to1:3.col4-
vectorspecifying the colors to be used for i) the points in the QQ plot; ii) the diagonal; iii) the asymptotic CI and iv) the bootstrap CI. Defaults toc("black", "red", "azure4", "chocolate4").
Value
get_set_qqplot_param() returns a list with 13 elements
that is passed to qqplot_maha(), more specifically, to the
underlying plot() method.
Parameter values passed to get_set_qqplot_param() via the
plot.pars argument overwrite the defaults; for parameters not
specified in the plot.pars argument, the default values are being
returned.
Author(s)
Erik Hintz, Marius Hofert and Christiane Lemieux
See Also
Examples
get_set_qqplot_param(plot.pars = list()) # obtain defaults
## See ?qqplot_maha() for more examples.