groupVars

0th

Percentile

Group Variances

Calculates the variances for each group

Usage
groupVars(variables, group, na.rm = FALSE)
Arguments
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
Value

matrix of group variances (with variables in the rows, and groups in the columns)

See Also

groupMeans, groupStds, groupMedians, groupQuants

Aliases
  • groupVars
Examples
## Not run: 
#   # dataset iris
#   data(iris)
# 
#   # group variances
#   groupVars(iris[,1:4], iris[,5])
#   ## End(Not run)
Documentation reproduced from package DiscriMiner, version 0.1-29, License: GPL-3

Community examples

Looks like there are no examples yet.