Displaying 1 result from an estimated 1 matches for "hyptestscores".
2010 Aug 26
3
Passing data to aov
...ht arise with
one of the deparse statements in aov, but I can't resolve it. It might also
be one of scoping/environment, but again, this is only an idea.
TIA for any assistance. Bryan
*************
Bryan Hanson
Professor of Chemistry & Biochemistry
DePauw University, Greencastle IN USA
hypTestScores <-
function(mylist, score.matrix, pcs = 1:3, fac = NULL, ...) {
scores <- score.matrix[,pcs]
# str(scores) # looks correct to me
form <- as.formula(paste("scores", "~", paste(fac, collapse = "*")),
env = parent.frame())
# str(...