Displaying 1 result from an estimated 1 matches for "thetotalrepl".
2010 Aug 11
1
sem & psych
...itCorrs), length(traitLoads),
length(myRes)))
myloadMethd <- as.numeric(gl(length(methodLoads), length(traitLoads) *
length(traitCorrs), length(myRes)))
mycorrMethd <- as.numeric(gl(length(methdCorrs), length(traitLoads) *
length(traitCorrs) * length(methodLoads), length(myRes)))
theTotalReplications <- myRes
##### ######## BIG FUNCTION ####### #####
sizeControlGroup <- function(theTotalReplications) { # Big function for
running the whole simulation
traitLoad <- traitLoads[myloadTrait[theTotalReplications]]
traitCorr <- traitCorrs[mycorrTrait[theTotalReplica...