[R] beginner question: how to sort out distinct values from a vector
Terry Mu
muster at gmail.com
Thu Mar 17 18:30:48 CET 2005
thank you so much! all of you!
On Thu, 17 Mar 2005 11:30:10 -0600, Marc Schwartz
<MSchwartz at medanalytics.com> wrote:
> On Thu, 2005-03-17 at 12:24 -0500, Terry Mu wrote:
> > there is a vector, like:
> > 1, 1, 1, 2, 2, 3, 3, 4, 5, 5,
> >
> > I'd like a function that gives me only 1, 2, 3, 4, 5
>
> See ?unique
>
> HTH,
>
> Marc SChwartz
>
>
More information about the R-help
mailing list