[R] Frequency tables without underlying data

From: Geoff Russell <geoffrey.russell_at_gmail.com>
Date: Thu 31 Aug 2006 - 11:28:18 EST


Hi from a new useR,

I know how to build a table() with 2 factors(), but I want to build a table() when
I only know the frequencies:

e.g. I know that

               useR  useStatA
       rich     100      200
       poor   200      5

but i don't have the underlying data to set up factors. Can I still make a frequency
table?

Cheers,
Geoff Russell

        [[alternative HTML version deleted]]



R-help@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 and provide commented, minimal, self-contained, reproducible code. Received on Thu Aug 31 17:16:21 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 31 Aug 2006 - 22:28:34 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.