Skip to content

identify subsets based on two grouping factors

1 message · Rajarshi Guha

#
Indeed, tapply is what I needed. To clarify Phils' question, what I needed was

tapply(x, list(cut.grp1, cut.grp2), function(z) table(z))
On Mon, Jan 31, 2011 at 4:50 PM, Bert Gunter <gunter.berton at gene.com> wrote: