Re: [R] ggplot2 geom_hline error

2007-10-14 Thread Jim Nikelski
Hi Hadley (and List), Your suggested geom_hline work-around did the trick. Also, thanks for the info regarding axis labels. My world is a happy place again. Enjoy your weekend ;) -Jim On 10/14/07, hadley wickham <[EMAIL PROTECTED]> wrote: > On 10/14/07, Jim Nikelski <[EMAIL PROTECTED]> wrot

Re: [R] ggplot2 geom_hline error

2007-10-14 Thread hadley wickham
On 10/14/07, Jim Nikelski <[EMAIL PROTECTED]> wrote: > Hello R-List > > I've run into a minor problem with ggplot2. In particular, I get > an error message when trying to plot a horizonal line through zero. > Here is what I do: > > plt.df <- subset(xfm.df, select=c(stage, subj, tX)) > plt <- g

[R] ggplot2 geom_hline error

2007-10-14 Thread Jim Nikelski
Hello R-List I've run into a minor problem with ggplot2. In particular, I get an error message when trying to plot a horizonal line through zero. Here is what I do: plt.df <- subset(xfm.df, select=c(stage, subj, tX)) plt <- ggplot(pp.df, aes(x=stage, y=tX, group=subj)) + geom_line() plt plt