Skip to content

trend surface analysis

2 messages · Carlos Henrique Grohmann, Roger Bivand

#
Hello,

What is the better way to perform trend surface analysis in R (with GRASS data),
with third-order surfaces (or higher levels?)

thanks
#
On Sun, 14 Dec 2003, Carlos Henrique Grohmann wrote:

            
Almost certainly surf.ls() in the spatial package, because it transforms 
the coordinates internally to lie within -1, +1. So numerically it will be 
more stable than say higher powers of numbers of metres south or north of 
the Equator in UTM. Some thought is need to get the points of the 
prediction grid right for GRASS, though; see the trmat.G() wrapper 
function.

Roger