View source: R/functions_tools.r
invert | R Documentation |
Invert one or more axes of a correspondence analysis. The principal coordinates of the analysis are multiplied by -1.
invert(x, dim = 1)
x |
is a soc.ca object |
dim |
is the dimensions to be inverted |
This is a convieniency function as you would have to modify coord.mod, coord.ind and coord.sup in the soc.ca object.
a soc.ca object with inverted coordinates on the specified dimensions
soc.mca, add.to.label
example(soc.ca)
inverted.result <- invert(result, 1:2)
result$coord.ind[1, 1:2]
inverted.result$coord.ind[1, 1:2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.