On 30/05/2008, at 9:57 AM, Jorge Ivan Velez wrote:

Dear Hanen,

You don't need "1" in your  R code. Try this:

# Model
mymodel<-lm(y~x1+x2)

# Coefficients
summary(mymodel)

See also ?lm.

That's not the problem.  The ``1'' is redundant but does no harm.
There is presumably something ``wrong'' with one or more of y, x1,
and x2, and Hanen should get his act together and investigate this
before posting to the list.

        cheers,

                Rolf

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to