I always have trouble with "by" myself. I don't usually get an answer
as quickly as I did here. I usually give up and move to "aggregate" or
"ave".
First I limited the data given to "by" in the first argument to just
the variable under question. Then by the time R sends the information
to
Thanks to Patric and Christian for swift and accurate help
I still had to learn the differnce between calling a function and
passing a call to a function. I had to coerce the first variable to be
a function but then it worked.
by(as.factor(exampledata$var), exampledata$interviewer, runs.test)
Re
2 matches
Mail list logo