View source: R/reg_bootstrap.R
plot.regboot | R Documentation |
Creates a plot of the density estimates of the bootstrap sample statistics
returned from the reg_bootstrap
function.
## S3 method for class 'regboot'
plot(x, title = "Regular Bootstrap Distribution", ...)
x |
An object of class 'regboot', usually the output of the |
title |
A plot title. Default is "Regular Bootstrap Distribution". |
... |
Additional parameters (currently ignored). |
A ggplot object showing the density estimates of the bootstrap sample statistic.
reg_bootstrap
, summary.regboot
set.seed(123)
data <- rnorm(5)
result <- reg_bootstrap(data)
plot(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.