[R] help in fitted values in lm function
Petr PIKAL
petr.pikal at precheza.cz
Mon Nov 14 09:13:20 CET 2011
Hi
>
> Hi,
>
> I have a data set of 10000 rows and ran a linear regression by using the
> function lmres = lm(formula,data)
>
> then got the fitted value by using the value fit=fitted(lmres).
>
> but the number of rows in the fitted one is about 9548,
>
> What could be the reason for reduction in the number of rows in the
fitted
> one
Some NA values in your data?
Petr
>
> --
> View this message in context: http://r.789695.n4.nabble.com/help-in-
> fitted-values-in-lm-function-tp4038642p4038642.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list