A.Z.,
You could recreate the data (I assumed that the values are discrete integers
and not a bin for a continuous variable) ...
value <- 1:6
count <- c(10,8,12,9,14,7)
d <- rep(value,count)
table(d)
... and then do what you want with the data in the d vector ...
summary(d)
hist(d)
> On 07-J
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 wrote:
> Hello,
> I just need a hi
On 07-Jul-10 20:39:32, Andrei Zorine 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
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?
4 matches
Mail list logo