get latent correlations, covariance and variances

Share:

Description

retrieve latent correlations, covariance and variances from ConQuest shw files

Usage

1
get.latent.corr ( path , xlsx = NULL , covariance = TRUE , variance = TRUE , sort = TRUE )

Arguments

path

either 1 of 4 inputs: [1] full path (directory + file name) of a ConQuest shw file [2] a list of ConQuest shw files (full paths) [3] a character vector of ConQuest shw files (full paths) [4] a folder in which it will be searched for ConQuest shw files

xlsx

full path (directory + file name) to Excel to be written (don't forget ".xlsx" suffix)

covariance

logical: should covariance(s) be extracted (default: TRUE)

variance

logical: should variance(s) be extracted (default: TRUE)

sort

logical: if TRUE (default) the latent correlation matrix ist sorted as in the analysis with most dimensions; if FALSE the latent correlation matrix ist not sorted, instead the order is determined by the order of dimensions in the analyses (first to last)

Value

returns a data.frame with correlations, covariance and variances of ConQuest analysis/analyses

Author(s)

Martin Hecht

Examples

1
2
3
4
5
6
7
## Not run: 
# just run any example of \link{automateModels}
# then:
#      get.latent.corr ( <folder> ) 
# e.g. get.latent.corr ( "C:/temp/automateModels/Example1" ) 

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.