[R] ggplot usage question

2007-07-13 Thread Pete Kazmier
Could someone show me how to get a blue line in this plot? ggplot(movies, aes(x=rating)) + stat_qq(geom=line, quantiles=seq(0,1,0.005), distribution=qunif) I've tried many permutations but cannot seem to find the right combination. I've tried these flavors: ggplot(movies, aes(x=rating))

Re: [R] ggplot2 / reshape / Question on manipulating data

2007-07-12 Thread Pete Kazmier
hadley wickham [EMAIL PROTECTED] writes: On 7/12/07, Pete Kazmier [EMAIL PROTECTED] wrote: 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

[R] ggplot2 / histogram / y-axis

2007-07-12 Thread Pete Kazmier
Is there a way in ggplot to make a histogram with the left-hand y-axis label as frequency, and a right-hand y-axis label as percentage? Thanks! Pete __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] ggplot2 / histogram / y-axis

2007-07-12 Thread Pete Kazmier
hadley wickham [EMAIL PROTECTED] writes: On 7/12/07, Pete Kazmier [EMAIL PROTECTED] wrote: Is there a way in ggplot to make a histogram with the left-hand y-axis label as frequency, and a right-hand y-axis label as percentage? Not currently. I did a quick exploration to see

[R] ggplot2 / reshape / Question on manipulating data

2007-07-11 Thread Pete Kazmier
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 -