[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] recode based on filter
From:       "Donatas G." <dgvirtual () akl ! lt>
Date:       2007-12-19 13:32:55
Message-ID: 200712191532.55558.dgvirtual () akl ! lt
[Download RAW message or body]

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
http://dg.lapas.info

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic