Adds supplementary bariables to a biplot object constructed with any of the biplot methods of the package. The new variables are fitted using the coordinates for the rows. Each variable is fitted using the adequate procedure for its type.
AddSupVars2Biplot(bip, X)
Arguments
bip: The biplot object
X: A data frame with the supplementary variables.
Details
Binary, nominal or ordinal variables are fitted using logistic biplots. Continuous variables are fitted with linear regression.
Returns
A biplot object with the coordinates for the supplementary variables added.