Re: [R] Adding Text to a Plot

2012-05-22 Thread Peter Ehlers
On 2012-05-22 07:51, David Winsemius wrote: On May 22, 2012, at 9:10 AM, Canto Casasola, Vicente David wrote: I'm pretty sure I'm missing something about this. Is there a smart way of typping hat(R)^2 and it's value from a linear regression? I've just found this tricky one: # Sample data x<

Re: [R] Adding Text to a Plot

2012-05-22 Thread David Winsemius
On May 22, 2012, at 9:10 AM, Canto Casasola, Vicente David wrote: I'm pretty sure I'm missing something about this. Is there a smart way of typping hat(R)^2 and it's value from a linear regression? I've just found this tricky one: # Sample data x <- sample(1:100,10) y <- 2+3*x+rnorm(10) # R

[R] Adding Text to a Plot

2012-05-22 Thread Canto Casasola, Vicente David
Hi, all! I'm pretty sure I'm missing something about this. Is there a smart way of typping hat(R)^2 and it's value from a linear regression? I've just found this tricky one: # Sample data x <- sample(1:100,10) y <- 2+3*x+rnorm(10) # Run the regression lm1 <- lm(y~x) # Plotti

Re: [R] adding text to a plot created with strat.plot() from package rioja

2011-08-21 Thread Uwe Ligges
would be to contribute your improvements back to the package. Best, Uwe Ligges Jason === Original Message Subject: Re: [R] adding text to a plot created with strat.plot() from package rioja From: Jason Paul Joines To: r-help@r-project.org Date: 2011.08.20.Sat.14:48

Re: [R] adding text to a plot created with strat.plot() from package rioja

2011-08-20 Thread Jason Paul Joines
I completely missed that entering just the function name prints the code for that function making it even easier to copy and create a custom version. Jason === Original Message Subject: Re: [R] adding text to a plot created with strat.plot() from package

Re: [R] adding text to a plot created with strat.plot() from package rioja

2011-08-20 Thread Jason Paul Joines
and use my own version of it. Still, it's going to take quite a while to get familiar with all of the graphical capabilities of R. Thanks, Jason === Original Message Subject: Re: [R] adding text to a plot created with strat.plot() from package rioja From:

Re: [R] adding text to a plot created with strat.plot() from package rioja

2011-08-20 Thread Uwe Ligges
On 19.08.2011 18:40, Jason Paul Joines wrote: I have a plot created with strat.plot() from package rioja. When the plot is created with scale.percent=FALSE, each x axes is labeled at 0 and its maximum. However, when scale.percent=TRUE, the x axes are not labeled. I need to use scale.percent=TRU

[R] adding text to a plot created with strat.plot() from package rioja

2011-08-19 Thread Jason Paul Joines
I have a plot created with strat.plot() from package rioja. When the plot is created with scale.percent=FALSE, each x axes is labeled at 0 and its maximum. However, when scale.percent=TRUE, the x axes are not labeled. I need to use scale.percent=TRUE and I need labels for the x axes.