Message-ID: <OFB57F1B20.401933E3-ONC125799C.0029ED2C-C125799C.002A2F3F@precheza.cz>
Date: 2012-02-06T07:40:39Z
From: PIKAL Petr
Subject: i want to retrieve count for each freq of given summary from table()
In-Reply-To: <1328512518981-4360579.post@n4.nabble.com>
Hi
Can you be more specific? What else do you want?
x<-table(sample(letters[1:5], 100, replace=TRUE))
x
a b c d e
20 14 23 23 20
as.numeric(x)
[1] 20 14 23 23 20
y<-as.numeric(x)
Regards
Petr
>
> i want to retrieve count for each freq of given summary from table()
e.g. "A"
> cout,"B" count
> & save it in different variables
> > table(dil)
> dil
> A C D E F G H I K L M N
> P Q
> 49433 10361 38490 44549 27182 44947 16310 39002 39829 58805 11228 29320
> 28900 25802
> R S T V W X Y
> 32674 40066 36052 45866 9405 1 23885
>
> --
> View this message in context: http://r.789695.n4.nabble.com/i-want-to-
>
retrieve-count-for-each-freq-of-given-summary-from-table-tp4360579p4360579.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.