addVar {chroGPS} | R Documentation |
Given a quantitative variable as a numeric vector with one element for each point on a MDS map, calculate and plot the weight vector corresponding to that variable.
addVar(mds1, z, plot = TRUE, label = "z", pos = 3, ...)
mds1 |
An object of class |
z |
Numeric vector with the quantitative variable, one element for each point. |
plot |
Set to TRUE to calculate and draw the resulting vector on the MDS. |
label |
Something to be printed on the tip of the vector arrow, usually the name of the given variable. |
pos |
Graphical position where the label is drawn respect to the vector arrow tip. |
... |
Additional parameters given to the generic function |
A named list with the vector components.
# Not run # See chroGPS-manual.pdf for examples.