Learn R Programming

exactamente (version 0.1.1)

plot.extboot: 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 extboot
plot(x, title = "Exact Bootstrap Distribution", ...)

Value

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

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

See Also

exact_bootstrap, summary.extboot

Examples

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

Run the code above in your browser using DataLab