[R] when all I have is a contingency table....
Joris Meys
jorismeys at gmail.com
Wed Jul 7 23:30:01 CEST 2010
See Teds answer for histogram (I'd go with barplot).
For most statistical procedures there is a weighted version (e.g.
weighted.mean() for the mean). Your counts are valid weights for most
procedures.
Cheers
Joris
On Wed, Jul 7, 2010 at 10:39 PM, Andrei Zorine <zoav1602 at gmail.com> wrote:
> Hello,
> I just need a hint here:
> Suppose I have no raw data, but only a frequency table I have, and I
> want to run basic statistical procedures with it, like histogram,
> descriptive statistics, etc. How do I do this with R?
> For example, how do I plot a histogram for this table for a sample of size 60?
>
> Value Count
> 1 10
> 2 8
> 3 12
> 4 9
> 5 14
> 6 7
>
>
> Thanks,
> A.Z.
>
> ______________________________________________
> 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.
>
--
Joris Meys
Statistical consultant
Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control
tel : +32 9 264 59 87
Joris.Meys at Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php
More information about the R-help
mailing list