[R] automatic call generation for aov()
Bruno L. Giordano
bruno.giordano at music.mcgill.ca
Fri Apr 20 14:38:42 CEST 2007
I am writing down a general function to implement the bootstrapF method
for repeated measures anova.
I am passing the function several data frames:
y = dependent
subj = subject identifiers
b = between-subjects factors (number = NB)
w = within-subjects factors (number = NW)
after grouping of all these variables in a single data frame the aov()
call looks like this:
Now, I am stuck at trying to have the bootstrapF function creating
automatically a call to aov().
I was thinking about passing the call as a string, but I am not sure
this is possible (and can't find references to such a method using
I am also wondering whether this could be done in a more elegant way.
Bruno L. Giordano, Ph.D.
Music Perception and Cognition Laboratory
Schulich School of Music, McGill University
555 Sherbrooke Street West
Montréal, QC H3A 1E3
Office: +1 514 398 4535 ext. 00900
More information about the R-help