GenData: Generate Data from factor loadings

Description Usage Arguments Value

Description

GenData returns a data.frame of observed scores based on matrix of factor loadings, effects matrix. The heart of this function was adapted from http://personality-project.org/r/r.datageneration.html

Usage

1
GenData(fmodel, effect, samplesize, inames = NULL)

Arguments

fmodel

Matrix of factor loadings for all items

effect

effects matrix

samplesize

number of observations generated

names

names of variables

Value

data.frame of observed scores


smasongarrison/enumR documentation built on May 24, 2019, 7:19 a.m.