RcmdrMisc (version 1.0-6)

plotBoot: Plot Bootstrap Distributions

Description

The function takes an object of class "boot" and creates an array of density estimates for the bootstrap distributions of the parameters.

Usage

plotBoot(object, confint=NULL, ...)
# S3 method for boot
plotBoot(object, confint=NULL, ...)

Arguments

object

an object of class "boot".

confint

an object of class "confint.boot" (or an ordinary 2-column matrix) containing confidence limits for the parameters in object; if NULL (the default), these are computed from the first argument, using the defaults for "boot" objects.

not used

Value

Invisibly returns the object produced by densityPlot.

Details

Creates an array of adaptive kernal density plots, using densityPlot in the car package, showing the bootstrap distribution, point estimate ,and (optionally) confidence limits for each parameter.

See Also

densityPlot

Examples

Run this code
# NOT RUN {
plotBoot(Boot(lm(prestige ~ income + education + type, data=Duncan)))
# }

Run the code above in your browser using DataCamp Workspace