mat_df_trim_quant | R Documentation |
Trim a df by quantiles
mat_df_trim_quant(
df,
.value_var,
...,
.probs = c(0.02, 0.98),
na.rm = TRUE,
.rem_quants = TRUE
)
df |
The df |
.value_var |
the column of values |
.probs |
quantile probs |
na.rm |
Remove NA when computing quantile? |
.rem_quants |
remove the quantile (i.e. trim only)? |
... |
the group_by variables |
mat_df_trim_quant(iris, Petal.Width, Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.