Re: [R] summary stats on continuous data

From: Daniel Malter <>
Date: Tue, 15 Jun 2010 01:06:43 -0700 (PDT)

Hi, you should be able to do most of your summaries using tapply() or aggregate().

for your example,


Here tapply takes Acc, "splits" it by Sample, and then tables Acc (which returns how many 0s/1s were observed in variable Acc for each stratum of Sample).


View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 15 Jun 2010 - 08:09:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 15 Jun 2010 - 13:20:34 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive