Ha!  Thanks.  I should have a closer look at Hmisc in general.

 -Ken


On 8/5/10 10:25 AM, "David Huffer" <[email protected]> wrote:

> See Harrell's Hmisc package
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Ken Williams
> Sent: Thursday, August 05, 2010 11:20 AM
> To: [email protected]
> Subject: [R] A %nin% operator?
> 
> [...]
> So I write a %nin% operator which I define as:
> 
>> `%nin%` <- function (x, table) match(x, table, nomatch = 0L) == 0L

-- 
Ken Williams
Sr. Research Scientist
Thomson Reuters
Phone: 651-848-7712
[email protected]

______________________________________________
[email protected] 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