Learn R Programming

Rnest (version 1.2)

loadings: Print Loadings in NEST

Description

Print Loadings in NEST

Usage

loadings(x, nfactors = x$nfactors, method = x$method, ...)

Value

A \(p \times k\) matrix containing loadings where \(p\) is the number of variables and \(k\) is the number of factors (nfactors).

Arguments

x

an object of class "nest".

nfactors

the number of factors to retains.

method

a method used to compute loadings and uniquenesses.

...

further arguments to methods in "nest" or the stats::loadings function.

Examples

Run this code
results <- nest(ex_2factors, n = 100)
loadings(results)

Run the code above in your browser using DataLab