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