plot.regboot {exactamente}R Documentation

Plot Method for 'regboot' Class

Description

Creates a plot of the density estimates of the bootstrap sample statistics returned from the reg_bootstrap function.

Usage

## S3 method for class 'regboot'
plot(x, title = "Regular Bootstrap Distribution", ...)

Arguments

x

An object of class 'regboot', usually the output of the reg_bootstrap function.

title

A plot title. Default is "Regular Bootstrap Distribution".

...

Additional parameters (currently ignored).

Value

A ggplot object showing the density estimates of the bootstrap sample statistic.

See Also

reg_bootstrap, summary.regboot

Examples

set.seed(123)
data <- rnorm(5)
result <- reg_bootstrap(data)
plot(result)

[Package exactamente version 0.1.1 Index]