Re: [R] tables of frequencies

About this list Date view Thread view Subject view Author view

From: Alan Arnholt (arnholt@math.appstate.edu)
Date: Tue 03 Apr 2001 - 00:36:12 EST


Message-ID: <SIMEON.10104021012.B@arnholt.math.appstate.edu>

Try table

example:

> tras <- rbinom(50,10,.5)
> table(tras)
tras
 2 3 4 5 6 7 8
 1 5 10 11 11 7 5

Alan

On Mon, 02 Apr 2001 11:14:22 -0300 Carlos Antonio S de
Andrade <cantonio@ch.ufpb.br> wrote:

> Hi!
>
> How to make tables of frequencies in R?
>
> Thanks.
> Prof. Carlos A. S. de Andrade
> Universidade Federal da Paraíba
> Centro de Humanidades
> Departamento de Economia e Finanças
> Tel.:83-333-5509(res)
> 310-1215(DEF/CH)
> E-mail: casandrade@super11.net
> cantonio@ch.ufpb.br
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

----------------------
Alan T. Arnholt
Associate Professor
Dept. of Mathematical Sciences
TEL: (828) 262-2863
FAX: (828) 265-8617
arnholt@math.appstate.edu

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:38 EST