Circ_test {holland}R Documentation

Running Mplus for testing 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 fit - tested against given (perfect - as default) 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_test(
  N,
  Cor,
  test = "perfect",
  w = FALSE,
  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 (see details).

test

either character (default test="perfect"), whicht tests against a perfect circumplex array, or a numeric vector with length = 6 giving the six angular locations (in radians) to test against.

w

logical - write fit coefficiants as csv table? - default: w = FALSE.

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.

name

optional a name (as character) for the Mplus syntax to be saved - default is the object name or the name given in paramter Cor as character (with ending changed to '.inp').

...

additional parameters passed through

Details

more to come ...

Value

a list with coefficients for model fit 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 running and extraction of Mplus files 
# refering to a correlation data stored object example2
data(example2) # loading fictional example correlation matrix
# not Run until Mplus is installed on your System #####
## Not run: test <- Circ_test(N = 300, Cor = example2, test="perfect") 
test
## End(Not run)

[Package holland version 0.1.2-1 Index]