Displaying 2 results from an estimated 2 matches for "rating_mean".
2010 Oct 27
4
One silly question about "tapply output"
...11.15
February BBB 11.13
January CCC 17.13
.............................................
............................................
December CCC 17.56
and so on.
My objective is to calculate Rating-wise mean rate, for which I have used
rating_mean = tapply(rate, rating, mean)
and I am getting following output
> tapply(rate, rating, mean)
AAA BBB CCC
9.1104 11.1361637 17.1606779
which is correct when compared with an excel output.
However, I wish to have my output something...
2007 Jul 12
1
ggplot2 / reshape / Question on manipulating data
I'm an R newbie but recently discovered the ggplot2 and reshape
packages which seem incredibly useful and much easier to use for a
beginner. Using the data from the IMDB, I'm trying to see how the
average movie rating varies by year. Here is what my data looks like:
> ratings <- read.delim("groomed.list", header = TRUE, sep = "|", comment.char = "")