Re: [R] recode based on filter

From: Donatas G. <>
Date: Wed, 19 Dec 2007 15:32:55 +0200

On Wednesday 19 December 2007 14:12:16 rašėte:
> sapply(levels(DATA$know1), function(x)subset(DATA, (know1==x &
> know2==x)), simplify=F)

Hey, thanks, that seems to work!

Donatas Glodenis

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 19 Dec 2007 - 13:37:48 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 Wed 19 Dec 2007 - 14:00:20 GMT.

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