This function performs factor analysis and returns the proportional scores or
weights for each variable on the first factor. This becomes the weight for
combining the normalised indicator scores.
The function takes a data frame, assumes that all variables are being processed
in factor analysis and returns a list where each element is a numeric value,
the weight corresponding to that column in the data. Factor analysis is performed
by fa
1 | getFAWeights(dat, ...)
|
dat |
a data frame containing the normalised indicator variables that need to be weighted, and nothing else. |
... |
Other arguments to be passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.