Circ_pro: Running Mplus for empirical RIASEC and additional construct...

Description Usage Arguments Details Value References Examples

View source: R/Circ_pro.R

Description

This function generates and runs Mplus syntax which is discussed in Nagy et. al. (2009) and extracts the estimated model parameters - the angular locations of the six RIASEC dimensions and angular locations for the additional (projected) construct, based on their correlations, in the asumed circumplex array within the theory of vocational choice by John Holland (1997).

Usage

1
2
3
4
5
6
7
8
9
Circ_pro(
  N,
  Cor,
  M = dim(Cor)[1] - 6,
  showOutput = TRUE,
  Mplus_command = "Mplus",
  replaceOutfile = "always",
  ...
)

Arguments

N

number of observations for correlations as numeric

Cor

must be an R matrix object with RIASEC and additional construct correlations. The order of the entrys of the correlation matrix must start with the additional construct dimensions - thus the last six collums (rows) in the correlation matrix are the six RIASEC dimensions.

M

number of additional construct dimensions to project into the RIASEC circumplex - e.g. M=5 for big-five personality dimensions - at default M is calculated from dimensions of Cor.

showOutput

default set to TRUE - see description of the function runModels() in package MplusAutomation.

Mplus_command

default set to "Mplus" as in the default in MplusAutomation - see examples and see description of the function runModels() in package MplusAutomation.

replaceOutfile

default set to "always" - see description of the function runModels() in package MplusAutomation.

...

additional parameters passed through

Details

This function uses the function extractModelParameters() in package MplusAutomation.

By deault the labels of the dimensions are taken from the column / row names of the matrix objekt given in Cor. If there are no named columns / rows, dimension lables are created.

more to come ...

Value

returns a list object containing the empirical RIASEC and additional construct angular locations extracted from the Mplus result file after running the Mplus syntax.

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
10
11
# generating runing and extracting parameters from Mplus files 
# refering to a R object (example4) with correlation data 
data(example4) # loading fictional example correlation matrix
# not Run until Mplus is installed on your Sytem #####
## Not run: test <- Circ_pro(300,example4) 
test
### ploting the result as a circumplex
plot(test)
# for black and white printing
plot(test,ltype=c(1,2),lcolor=c("grey","grey","black","black"))
## End(Not run)

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