powered by
Creates a plot of the density estimates of the bootstrap sample statistics returned from the reg_bootstrap function.
reg_bootstrap
# S3 method for regboot plot(x, title = "Regular Bootstrap Distribution", ...)
A ggplot object showing the density estimates of the bootstrap sample statistic.
An object of class 'regboot', usually the output of the reg_bootstrap function.
A plot title. Default is "Regular Bootstrap Distribution".
Additional parameters (currently ignored).
reg_bootstrap, summary.regboot
summary.regboot
set.seed(123) data <- rnorm(5) result <- reg_bootstrap(data) plot(result)
Run the code above in your browser using DataLab