| VSS.parallel {psych} | R Documentation |
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.
VSS.parallel(ncases, nvariables)
ncases |
Number of simulated cases |
nvariables |
number of simulated variables |
VSS like output to be plotted by VSS.plot
William Revelle
~put references to the literature/web site here ~
##---- 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)
}