bootstrap_q_augment: Augment Bootstrap Q

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

bootstrap_q_augmentR Documentation

Augment Bootstrap Q

Description

Takes a numeric vector and will return the quantile.

Usage

bootstrap_q_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 quantile 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_p_augment()

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

Examples

x <- mtcars$mpg

tidy_bootstrap(x) %>%
  bootstrap_unnest_tbl() %>%
  bootstrap_q_augment(y)


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