groupQuants

0th

Percentile

Group Quantiles

Calculates the specified quantiles for each group

Usage
groupQuants(variables, group, prob, na.rm = FALSE)
Arguments
variables
matrix or data frame with explanatory variables (may contain missing values)
group
vector or factor with group memberships
prob
probability value (numeric value between 0 and 1)
na.rm
logical indicating whether missing values should be removed
Value

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

See Also

groupMeans, groupVars, groupStds, groupMedians

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

Community examples

Looks like there are no examples yet.