Description Usage Arguments Value Examples
This function allows you to integrate information about data structure contained in categorical variables in a principal components analysis.
1 2 3 4 5 6 |
x |
a matrix or data frame containing only numeric variables |
cat |
the categorical variables. must be coded as factors or characters, not numeric dummy variables. |
ncomp |
the number of components to retain. |
scale |
should the variables be scaled prior to analysis? Defaults to TRUE. |
an object of class PrincipalComp
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.