View source: R/get_df_quantiles.R
get_df_quantiles | R Documentation |
get_df_quantiles get quanitles from a data.frame for 'y_value', grouped by group_vars using purrr and dplyr
get_df_quantiles(df, group_vars, y_value, quants = c(0.025, 0.5, 0.975))
df |
a dataframe with columns in group_vars and y_value |
group_vars |
a vector of strings specifying the grouping variables |
y_value |
a string specifying the column to calculate the quanitles for |
quants |
numeric vector of values between 0-1 which define the quantiles to calculate. |
a dataframe of quantiles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.