bootstrap_p_augment: Augment Bootstrap P

View source: R/augment-bootstrap-p.R

bootstrap_p_augmentR Documentation

Augment Bootstrap P

Description

Takes a numeric vector and will return the ecdf probability.

Usage

bootstrap_p_augment(.data, .value, .names = "auto")

Arguments

.data

The data being passed that will be augmented by the function.

.value

This is passed rlang::enquo() to capture the vectors you want to augment.

.names

The default is "auto"

Details

Takes a numeric vector and will return the ecdf probability of that vector. This function is intended to be used on its own in order to add columns to a tibble.

Value

A augmented tibble

Author(s)

Steven P. Sanderson II, MPH

See Also

Other Augment Function: bootstrap_density_augment(), bootstrap_q_augment()

Other Bootstrap: bootstrap_density_augment(), bootstrap_p_vec(), bootstrap_q_augment(), bootstrap_q_vec(), bootstrap_stat_plot(), bootstrap_unnest_tbl(), tidy_bootstrap()

Examples

x <- mtcars$mpg
tidy_bootstrap(x) %>%
  bootstrap_unnest_tbl() %>%
  bootstrap_p_augment(y)


TidyDensity documentation built on Nov. 2, 2023, 5:38 p.m.