mm_grp_dists | R Documentation |
Calculate and plot group distance from centroid (grand mean)
mm_grp_dists(dat, grps, plots = TRUE)
dat |
a 2d matrix of data. Presumably PC scores |
grps |
a vector defining group IDs |
plots |
Logical. Should distances be plotted as vusing boxplots? If FALSE, distance calculations are still performed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.