Circ_pro {holland} | R Documentation |
Running Mplus for empirical RIASEC and additional construct angular locations
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
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. |
showOutput |
default set to |
Mplus_command |
default set to |
replaceOutfile |
default set to "always" - see description of the function |
... |
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
# 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)