Message-ID: <424B979B.8010106@statistik.uni-dortmund.de>
Date: 2005-03-31T06:24:27Z
From: Uwe Ligges
Subject: Can I extract result row of table()?
In-Reply-To: <b68812e705033022186ed53e0e@mail.gmail.com>
Terry Mu wrote:
>>x <- c(5, 5, 8, 8, 8, 27)
>>table(x)
>
> x
> 5 8 27
> 2 3 1
>
> I want a way to use only "2, 3, 1", nomatter table or what other function used.
as.vector() removes the attributes, if that is your question.
Uwe Ligges
> Thanks.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html