Try this:
R> apropos('any')
R> ?anyDuplicated
HTH,
Jorge
On Tue, Dec 1, 2009 at 8:32 PM, Peng Yu <[email protected]> wrote:
> On Tue, Dec 1, 2009 at 1:40 AM, Karl Ove Hufthammer <[email protected]>
> wrote:
> > On Tue, 1 Dec 2009 14:48:04 +1100 Remko Duursma <[email protected]>
> > wrote:
> >> any(duplicated(c(1,2,2)))
> >
> > or
> > anyDuplicated(c(1,2,2))
> > which is slightly more efficient.
>
> I don't find anyDuplicated(). Which package is it from?
>
> ______________________________________________
> [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.
>
[[alternative HTML version deleted]]
______________________________________________
[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.