Mplus_eeal: Extracting empirical RIASEC angular locations from Mplus...

Description Usage Arguments Details Value References Examples

View source: R/Mplus_eeal.R

Description

This function extracts the empirical RIASEC angular locations from an Mplus output file, which is the result of processing the Mplus syntax generated with the function Mplus_esyn().

Usage

1
Mplus_eeal(target, konstrukt = c("R", "I", "A", "S", "E", "C"), ...)

Arguments

target

name of the Mplus output file name within the working directory as character. May also be a full path or relative path. Example: target = "MyMplus.out"

konstrukt

optionally a character vector with length = 6 containing labels for construct dimensions - default is konstrukt = c("R","I","A","S","E","C").

...

additional parameters passed through

Details

This function uses the function readModels() in package MplusAutomation. more to come

Value

returns a list object containing the RIASEC angular locations extracted from the Mplus output.

References

Holland, J.L. (1997). Making vocational choices. A theory of vocational personalities and work environments. Lutz, FL: Psychological Assessment Resources.

Nagy, G., Marsh, H. W., Luedtke, O., & Trautwein, U. (2009). Representing circles in our minds: Confirmatory factor analysis of circumplex structures and profiles. In T. Teo & M. S. Khine (Hrsg.), Structural Equation Modeling in Educational Research: Concepts and applications (S. 287 - 315). Rotterdam Boston Taipei: Sense Publishers.

Examples

1
2
3
4
5
6
7
8
9
## generating an example Mplus syntax referring to a R object with correlation data 
data(example1) # loading fictional example correlation matrix
Mplus_esyn(N = 300, Cor = example1)
##### not run until Mplus inputfile 'example1.inp' is processed by Mplus ####
## Not run: Mplus_eeal("example1.out")
################################################################
### clean up work directory
file.remove("example1.inp") # remove generated Mplus syntax from work dir.
file.remove("example1.dat") # remove generated cor. data from work dir.

holland documentation built on Sept. 5, 2021, 5:08 p.m.