plotBoot: Plot Bootstrap Distributions

View source: R/plotBoot.R

plotBootR Documentation

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 class '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

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.

Value

Invisibly returns the object produced by densityPlot.

Author(s)

John Fox jfox@mcmaster.ca

See Also

densityPlot

Examples

## Not run: 
plotBoot(Boot(lm(prestige ~ income + education + type, data=Duncan)))

## End(Not run)

RcmdrMisc documentation built on Sept. 27, 2023, 1:06 a.m.