[R] r: lm question
Ivar Herfindal
Ivar.Herfindal at bio.ntnu.no
Mon Jan 5 10:46:21 CET 2004
I think this should work:
lm(y ~ x - 1)
Ivar
On Mon, 05 Jan 2004 11:30:39 +0200, allan clark <allan at stats.uct.ac.za>
wrote:
> Hi all
>
> this is a silly question since i should know the answer.
>
> lm(y~x) perfroms linear regression with the intercept included.
>
> How do i estimate the equation without the intercept?
>
> cheers
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list