Skip to content
Prev 207884 / 398502 Next

tapply on multiple groups

Thanks. My mistake was that I used c(dbs.final$Days,dbs.final$Place) instead of list(... when I tried to follow that part of the documentation.

        
On Jan 28, 2010, at 10:26 AM, GL wrote:

            
Please reread the help page for tapply.

Perhaps?:

tapply(dbs.final$Days, list(dbs.final$YYYYMM, dbs.final$Place) summary)

-- David
David Winsemius, MD
Heritage Laboratories
West Hartford, CT