loading.value | R Documentation |
The user specifies the factor loadings as a matrix. The values should be given by column for each factor. Columns represent factors and rows represent items. The values entered should be larger than 0 and smaller than 1. Please see the example for a loading matrix for a three-factor model.
loading.value(nf, fl.loads)
nf |
the number of factor/s. |
fl.loads |
vector of factor loadings |
The function returns the factor loading matrix. The number of columns shows the number of factors in the model. The rows show the number of items
Fatih Orçan
# This example represents a three-factor CFA model
# where the factors are indicated by 3, 3, and 2 items respectively.
#
loading.value(nf=3, fl.loads=c(.6,.6,.6,0,0,0,0,0,0,0,0,.7,.7,.7,0,0,0,0,0,0,0,0,.8,.8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.