View source: R/principalcomponentsanalysis.R
prepareDataForFactorAnalysis | R Documentation |
prepareDataForFactorAnalysis
Filter data, remove cases with missing values, and impute where requested.
prepareDataForFactorAnalysis(data, weights, subset, missing)
data |
A data frame with numeric columns which contains the data to be analyzed. |
weights |
A numeric vector containing the weight for each case in data. |
subset |
A logical vector which describes the subset of |
missing |
A string specifiying what to do when the |
A list containing subset.data
, which is a data frame which has had subset applied
and missing values removed or imputed as specified by the parameter missing
, and prepared.weights
which is a nuneric vector containing the weight values that correspond to the remaining cases (or NULL when
the input weight is NULL).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.