#rstats I never was aware of this before:
> x <- 1:5
> y <- c(2,8,3,3,1)
> x[4] <- NA
> lmo <- lm(y ~ x)
> lmo$fitted.values
1 2 3 5
4.800000 4.057143 3.314286 1.828571
No NA in 4th pos.
Tweet 1 of 2.
> x <- 1:5
> y <- c(2,8,3,3,1)
> x[4] <- NA
> lmo <- lm(y ~ x)
> lmo$fitted.values
1 2 3 5
4.800000 4.057143 3.314286 1.828571
No NA in 4th pos.
Tweet 1 of 2.
Was getting bewildering results from a real dataset, finally decided to check fitted.values out of desperation, thus regained my sanity. :-)
Not in the documentation, as far as I can tell. 2/2
Not in the documentation, as far as I can tell. 2/2