getFAWeights: replaceMissing

Description Usage Arguments

View source: R/getFAWeights.R

Description

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

Usage

1

Arguments

dat

a data frame containing the normalised indicator variables that need to be weighted, and nothing else.

...

Other arguments to be passed to fa


TheDataLabScotland/simdr documentation built on May 29, 2019, 1:05 p.m.