powered by
Invert one or more axes of a correspondence analysis. The principal coordinates of the analysis are multiplied by -1.
invert(x, dim = 1)
is a soc.ca object
is the dimensions to be inverted
a soc.ca object with inverted coordinates on the specified dimensions
This is a convieniency function as you would have to modify coord.mod, coord.ind and coord.sup in the soc.ca object.
soc.mca, add.to.label
# NOT RUN { example(soc.ca) inverted.result <- invert(result, 1:2) result$coord.ind[1, 1:2] inverted.result$coord.ind[1, 1:2] # }
Run the code above in your browser using DataLab