[R-sig-Geo] Missing values with lm

piero campa piero.campa at gmail.com
Thu Mar 3 14:16:18 CET 2011


Hi,
Jan also wrote:

"so i expect to get 36 s values and 480 t values. Instead for the first cell
and the first timestep the value is missing, the lm result is only 35 s
values and 479 t values ( + one intercept coefficient ). Is there a reason
behind this and some way to fix it?"

Any clue about this?
I encountered a similar problem and worked it out by filling the (very small
percentage) of NAs with a simple inverse distance interpolation
(?gstat::krige).

Piero

--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Missing-values-with-lm-tp6080805p6084753.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list