powered by
factanal
factanal(data, formula = ~., ...)# S3 method for factanal predict(object, data, ...)
# S3 method for factanal predict(object, data, ...)
formula
factanal(mtcars, factors = 3) fit <- factanal(mtcars, ~ hp*am*wt, factors = 3) predict(fit, mtcars[1:5, ])
Run the code above in your browser using DataLab