Hi,
can somebody tell me why R is not able to calculate a linear model
written in this way?

> lm (seq(1:100)~seq(1:100))

Call:
lm(formula = seq(1:100) ~ seq(1:100))

Coefficients:
(Intercept)
       50.5

Warning messages:
1: In model.matrix.default(mt, mf, contrasts) :
  the response appeared on the right-hand side and was dropped
2: In model.matrix.default(mt, mf, contrasts) :
  problem with term 1 in model.matrix: no columns are assigned
>

Seems that is not able to dealing with similar number and so with very
small numbers for calculating the coefficients. Moreover also
Intercepts is wrong it should be equal to 0.

I compile the R 2.11.1 in the Fedora 13.
Should i download a library?
Some configure options are missing during the installation? or is a bug?
Thanks in advance
Giuseppe Amatulli

______________________________________________
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