VSS.parallel {psych}R Documentation

Compare real and random VSS solutions

Description

Another useful test for the number of factors is when the eigen values of a random matrix are greater than the eigen values of a a real matrix. Here we show VSS solutions to random data.

Usage

VSS.parallel(ncases, nvariables)

Arguments

ncases Number of simulated cases
nvariables number of simulated variables

Value

VSS like output to be plotted by VSS.plot

Author(s)

William Revelle

References

~put references to the literature/web site here ~

See Also

VSS.plot, ICLUST, omega

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--    or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(ncases,nvariables)       #function call 
{  
 simdata=matrix(rnorm(ncases*nvariables),nrow=ncases,ncol=nvariables)    #make up simulated data
 testsim <- VSS(simdata,8,"none")
 return(testsim)
 }

[Package psych version 1.0-18 Index]