withinSS

0th

Percentile

Within-class Sum of Squares Matrix

Calculates within-class sum of squares and cross product matrix (a.k.a. within-class scatter matrix)

Usage
withinSS(variables, group)
Arguments
variables
matrix or data frame with explanatory variables (No missing values are allowed)
group
vector or factor with group memberships (No missing values are allowed)
See Also

withinCov, betweenSS, totalSS

Aliases
  • withinSS
Examples
## Not run: 
#   # load iris dataset
#   data(iris)
# 
#   # within-class scatter matrix
#   withinSS(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.