Circ_emp {holland} | R Documentation |
Running Mplus for empirical RIASEC 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, based on their correlations, in the asumed circumplex array within the theory of vocational choice by John Holland (1997).
Usage
Circ_emp(
N,
Cor,
konstrukt = c("R", "I", "A", "S", "E", "C"),
showOutput = TRUE,
Mplus_command = "Mplus",
replaceOutfile = "always",
name = NULL,
...
)
Arguments
N |
number of observations for correlations as numeric |
Cor |
either an R matrix object with RIASEC correlations or the name of a correlation matrix, stored as a .dat text file, as character. If parameter |
konstrukt |
optionaly a character vector with length = 6 containing labels for construct dimensions - default is konstrukt = c("R","I","A","S","E","C"). |
showOutput |
default set to |
Mplus_command |
default set to |
replaceOutfile |
default set to "always" - see description of the function |
name |
optional a name (as character) for the Mplus syntax to be saved - default is the object name or the name given in paramter |
... |
additional parameters passed through |
Details
more to come ...
Value
returns a list object containing the empirical RIASEC 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 correlation data stored in object ‘example2'
data(example2)# loading fictional example correlation matrix
# not Run until Mplus is installed on your Sytem #####
## Not run: test <- Circ_emp(300,example2)
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)