View source: R/defineclassesandfunctions.R
reflectaxes | R Documentation |
reflectaxes
reflects the principal and standard coordinates
of the axes chosen, and the appropriate covariances where needed
reflectaxes(x, axes = c(1, 2))
x |
An object of class |
axes |
A list or vector containing the numbers of the axes to be reflected |
This may be useful when comparing results between different data sets, or from different packages
An object of class cabootcrsresults
cabootcrs-package
, cabootcrs
, reordercategories
, cabootcrsresults
results <- cabootcrs(DreamData) resultsreflectfirstaxis <- reflectaxes(results, 1) summaryca(resultsreflectfirstaxis) plotca(resultsreflectfirstaxis) ## Not run: # Often needed when comparing results between different packages, # or same package on different machines, # or to allow ellipses from this package to be added to plots from other packages library(ca) cad3 <- mjca(DreamData223by3) bd3 <- cabootcrs(DreamData223by3, catype="mca") summary(cad3) bd3reflect1 <- reflectaxes(bd3,1) summaryca(bd3reflect1) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.