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