A summary of the results of a Monte Carlo simulation obtained by the function
mcSimulation
is produced.
# S3 method for mcSimulation
summary(object, ..., digits = max(3,
getOption("digits") - 3), variables.y = names(object$y),
variables.x = if (classicView) names(object$x), classicView = FALSE,
probs = c(0, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 1))
An object of class mcSimulation
.
Further arguments passed to summary.data.frame
(classicView=TRUE
)
or format
(classicView=FALSE
).
how many significant digits are to be used for
numeric and complex x
. The default, NULL
, uses
getOption("digits")
. This is a suggestion: enough decimal
places will be used so that the smallest (in magnitude) number has
this many significant digits, and also to satisfy nsmall
.
(For the interpretation for complex numbers see signif
.)
character
or character vector
: Names of the components of the
simulation function (model_function
), whose results shall be displayed. Defaults to all
components.
character
or character vector
: Names of the components of the
input variables to the simulation function, i.e. the names of the variables in the input
estimate
, whose random sampling results shall be displayed. Defaults to all components.
logical
: if TRUE
the results are summarized using
summary.data.frame
, if FALSE
further output is produced and the quantile
information can be chosen. Cf. section Value and argument probs
. Default is
FALSE
.
numeric vector
: quantiles that shall be displayed if
classicView=FALSE
.
An object of class summary.mcSimulation
.
mcSimulation
, print.summary.mcSimulation
, summary.data.frame