bootstrap_density_augment {TidyDensity} | R Documentation |
Bootstrap Density Tibble
Description
Add density information to the output of tidy_bootstrap()
, and
bootstrap_unnest_tbl()
.
Usage
bootstrap_density_augment(.data)
Arguments
.data |
The data that is passed from the |
Details
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.
Value
A tibble
Author(s)
Steven P. Sanderson II, MPH
See Also
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()
Examples
x <- mtcars$mpg
tidy_bootstrap(x) |>
bootstrap_density_augment()
tidy_bootstrap(x) |>
bootstrap_unnest_tbl() |>
bootstrap_density_augment()