So true. I apologize for that one! Thanks again for the help. -Lars -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Problems-with-NA-values-and-lm-in-calc-in-raster-package-tp7455990p7468665.html Sent from the R-sig-geo mailing list archive at Nabble.com.