View source: R/augment-bootstrap-density.R
bootstrap_density_augment | R Documentation |
Add density information to the output of tidy_bootstrap()
, and
bootstrap_unnest_tbl()
.
bootstrap_density_augment(.data)
.data |
The data that is passed from the |
This function takes as input the output of the tidy_bootstrap()
or
bootstrap_unnest_tbl()
and returns an augmented tibble that has the following
columns added to it: x
, y
, dx
, and dy
.
It looks for an attribute that comes from using tidy_bootstrap()
or
bootstrap_unnest_tbl()
so it will not work unless the data comes from one of
those functions.
A tibble
Steven P. Sanderson II, MPH
Other Bootstrap:
bootstrap_p_augment()
,
bootstrap_p_vec()
,
bootstrap_q_augment()
,
bootstrap_q_vec()
,
bootstrap_stat_plot()
,
bootstrap_unnest_tbl()
,
tidy_bootstrap()
Other Augment Function:
bootstrap_p_augment()
,
bootstrap_q_augment()
x <- mtcars$mpg
tidy_bootstrap(x) |>
bootstrap_density_augment()
tidy_bootstrap(x) |>
bootstrap_unnest_tbl() |>
bootstrap_density_augment()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.