.calculate_weighted_statistics | R Documentation |
This function calculate the mean, standard deviation, and quantiles for each column in a provided data array.
.calculate_weighted_statistics(
data_array,
data_margin = 2,
quantile_levels = c(min = 0, `2.5%` = 0.025, `25%` = 0.25, median = 0.5, `75%` =
0.75, `97.5%` = 0.975, max = 1)
)
data_array |
A data array where calculations will be performed on each column. |
quantile_levels |
A named vector of probabilities for which quantiles are required. |
A data frame with columns for each calculated statistic, including mean, standard deviation, upper and lower bounds, and user-specified quantiles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.