Skip to contents

This function takes in a vector as it's input and will return the quantile of a vector.

Usage

bootstrap_q_vec(.x)

Arguments

.x

A numeric

Value

A vector

Details

A function to return the quantile of a vector.

Author

Steven P. Sanderson II, MPH

Examples

x <- mtcars$mpg

bootstrap_q_vec(x)
#>  [1] 10.4 10.4 13.3 14.3 14.7 15.0 15.2 15.2 15.5 15.8 16.4 17.3 17.8 18.1 18.7
#> [16] 19.2 19.2 19.7 21.0 21.0 21.4 21.4 21.5 22.8 22.8 24.4 26.0 27.3 30.4 30.4
#> [31] 32.4 33.9