powered by
withinSS(variables, group)
withinCov
betweenSS
totalSS
# load iris dataset data(iris) # within-class scatter matrix withinSS(iris[,1:4], iris[,5])
Run the code above in your browser using DataLab