On Sun, 2007-12-09 at 19:15 +, [EMAIL PROTECTED] wrote:
> Hi Folks,
>
> Say I have 2 continuous variables X,Y.
>
> I can of course plot (X,Y) with
>
> plot(X,Y,pch="+",col="blue")
>
> say, and add the regression line from lm(Y~X)
> by extracting the coefficients 'a' of Intercept
> and 'b
If x <- round(...whatever...) try:
title(capture.output(print(x)))
On Dec 9, 2007 2:15 PM, Ted Harding <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> Say I have 2 continuous variables X,Y.
>
> I can of course plot (X,Y) with
>
> plot(X,Y,pch="+",col="blue")
>
> say, and add the regression line from
Hi Folks,
Say I have 2 continuous variables X,Y.
I can of course plot (X,Y) with
plot(X,Y,pch="+",col="blue")
say, and add the regression line from lm(Y~X)
by extracting the coefficients 'a' of Intercept
and 'b' of X from Y.lm <- lm(Y~X).
Now, however, I want to have not only a general
expla
3 matches
Mail list logo