Without a reproducible example it's hard to say for certain, but I
imagine you want
buybdge != badge
or
!(buybdge == badge)

Note that ?"==" (the help for == ) would have told you that.

Sarah

On Thu, May 9, 2013 at 4:05 PM, ramoss <ramine.mossad...@finra.org> wrote:
> Hello,
>
> I have a simple question:
>
> I know how to subset by is:  buy1 <- subset(buy,buybdge==badge)
>
> How do I subset if I don't want buybdge to equal badge?
>
> Thanks ahead for your help
>
>
>


-- 
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
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.

Reply via email to