Learn R Programming

RcmdrMisc (version 2.9-1)

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, ...)

Value

Invisibly returns the object produced by densityPlot.

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

Author

John Fox jfox@mcmaster.ca

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

Examples

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

Run the code above in your browser using DataLab