medians_of_groups | R Documentation |
Calculates medians of a vector with discrete levels
medians_of_groups(vals, groups)
vals |
A numeric vector of values |
groups |
A character vector specifying the respective group of each value |
A data frame with 2 columns: 1) group name and 2) median value of group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.