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 

--
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@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