loading.value: This function specifies the factor loading values.

View source: R/Input_floads.R

loading.valueR Documentation

This function specifies the factor loading values.

Description

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.

Usage

loading.value(nf, fl.loads)

Arguments

nf

the number of factor/s.

fl.loads

vector of factor loadings

Value

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

Author(s)

Fatih Orçan

Examples

# 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))

MonteCarloSEM documentation built on May 29, 2024, 11:56 a.m.