View source: R/calculate_quantiles.R
calculate_quantiles | R Documentation |
Function to calculate quantiles for a numeric vector.
calculate_quantiles(
x,
probabilities = c(0.025, 0.975),
type = 7,
keep_probabilities = FALSE,
na.rm = TRUE
)
x |
A numeric vector. |
probabilities |
A numeric vector with the length of two representing probabilities of the quantiles. These values will always be less than 1. |
type |
Method to use to calculate the quantiles. |
keep_probabilities |
Should the probabilities vector be kept? If
|
na.rm |
Should missing values be removed for calculation? The default is
|
Tibble.
Stuart K. Grange
quantile
, calculate_ci
,
calculate_range
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.