trmat                package:spatial                R Documentation

_E_v_a_l_u_a_t_e _T_r_e_n_d _S_u_r_f_a_c_e _o_v_e_r _a _G_r_i_d

_D_e_s_c_r_i_p_t_i_o_n:

     Evaluate trend surface over a grid.

_U_s_a_g_e:

     trmat(obj, xl, xu, yl, yu, n)

_A_r_g_u_m_e_n_t_s:

     obj: object returned by `surf.ls' or `surf.gls' 

      xl: limits of the rectangle for grid 

      xu: 

      yl: 

      yu: 

       n: use `n'  x  `n' grid within the rectangle 

_V_a_l_u_e:

     list with components `x', `y' and `z' suitable for `contour' and
     `image'.

_S_e_e _A_l_s_o:

     `surf.ls', `surf.gls'

_E_x_a_m_p_l_e_s:

     data(topo)
     topo.kr <- surf.ls(2, topo)
     trsurf <- trmat(topo.kr, 0, 6.5, 0, 6.5, 50)

