Skip to content
Prev 360173 / 398503 Next

Bug in by() function which works for some FUN argument and does not work for others

Yes. that is certainly a workable alternative, although I thought the question of "how to to it" had been effectively answered with the suggestion from Adrian Dusa to use colMeans. It, too, has an `na.rm=TRUE` option

I was only responding to your plaintive complaint that the current version of R had a "bug" because it was not behaving as promised by an introductory text with a three year-old publishing date.