Description Usage Arguments Value Author(s) See Also Examples
Calculates the medians for each group
1 | groupMedians(variables, group, na.rm = FALSE)
|
variables |
matrix or data frame with explanatory variables (may contain missing values) |
group |
vector or factor with group memberships |
na.rm |
logical indicating whether missing values should be removed |
matrix of group medians (with variables in the rows, and groups in the columns)
Gaston Sanchez
groupVars
, groupStds
,
groupMeans
, groupQuants
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.