Displaying 1 result from an estimated 1 matches for "sorama".
2007 Dec 03
3
restore NAs in residuals
Dear All,
I have two vectors:
tt = c(6.87, 7.43, 6.4, 4.5, 5.5, 5.87, NA, NA, NA, 7.7)
year = 1966:1975
Residuals
lm(tt~year)$res
do not contain NAs for the three years of missing temperature tt. Is there a
simple way to get these NAs back into the residual's vector?
Thank you,
Sorama
[[alternative HTML version deleted]]