simplestructure: Generate factor loadings matrix with simple structure

View source: R/f_convenience_simplestructure.R

simplestructureR Documentation

Generate factor loadings matrix with simple structure

Description

This function generates the input for lambda arguments in latent variable models using a simple structure. The input is a vector with an element for each variable indicating the factor the variable loads on.

Usage

simplestructure(x)

Arguments

x

A vector indicating which factor each indicator loads on.

Author(s)

Sacha Epskamp <mail@sachaepskamp.com>


psychonetrics documentation built on June 22, 2024, 10:29 a.m.