betweenSS: Between-class Sum of Squares Matrix

Description Usage Arguments Author(s) See Also Examples

View source: R/betweenSS.R

Description

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

Usage

1
  betweenSS(variables, group)

Arguments

variables

matrix or data frame with explanatory variables (No missing values are allowed)

group

vector or factor with group membership (No missing values are allowed)

Author(s)

Gaston Sanchez

See Also

betweenCov, withinSS, totalSS

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # load iris dataset
  data(iris)

  # between-class scatter matrix
  betweenSS(iris[,1:4], iris[,5])
  
## End(Not run)

gastonstat/DiscriMiner documentation built on Feb. 27, 2021, 4:58 a.m.