invert {soc.ca} | R Documentation |
Invert the direction of coordinates
Description
Invert one or more axes of a correspondence analysis. The principal coordinates of the analysis are multiplied by -1.
Usage
invert(x, dim = 1)
Arguments
x |
is a soc.ca object |
dim |
is the dimensions to be inverted |
Details
This is a convieniency function as you would have to modify coord.mod, coord.ind and coord.sup in the soc.ca object.
Value
a soc.ca object with inverted coordinates on the specified dimensions
See Also
Examples
example(soc.ca)
inverted.result <- invert(result, 1:2)
result$coord.ind[1, 1:2]
inverted.result$coord.ind[1, 1:2]
[Package soc.ca version 0.8.0 Index]