plot.extboot {exactamente}R Documentation

Plot Method for 'extboot' Class

Description

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

Usage

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

Arguments

x

An object of class 'extboot', usually the output of the exact_bootstrap function.

title

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

...

Additional parameters (currently ignored).

Value

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

See Also

exact_bootstrap, summary.extboot

Examples

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

[Package exactamente version 0.1.1 Index]