Learn R Programming

DiscriMiner (version 0.1-29)

totalSS: Total Sum of Squares Matrix

Description

Calculates the total sum of squares and cross product matrix (a.k.a. total scatter matrix)

Usage

totalSS(variables)

Arguments

variables
matrix or data frame with explanatory variables

See Also

totalCov, betweenSS, withinSS

Examples

Run this code
## Not run: 
#   # load iris dataset
#   data(iris)
# 
#   # total scatter matrix
#   totalSS(iris[,1:4])
#   ## End(Not run)

Run the code above in your browser using DataLab