add_quantile | R Documentation |
Calculate single quantile for a dataset. Useful if wanting to filter below a certain threshold of values, ie lowest 1
add_quantile(df, variable = "value", percent = 0.01, na.rm = FALSE)
df |
Data frame |
variable |
Variable to calculate quantile for |
percent |
Quantile to calculate |
na.rm |
Should NAs be removed? |
Tibble
Shona Wilde & Stuart Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.