prmat                package:spatial                R Documentation

_E_v_a_l_u_a_t_e _K_r_i_g_i_n_g _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 Kriging surface over a grid.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

     obj: object returned by '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'.

_R_e_f_e_r_e_n_c_e_s:

     Ripley, B. D. (1981) _Spatial Statistics._ Wiley.

     Venables, W. N. and Ripley, B. D. (2002) _Modern Applied
     Statistics with S._ Fourth edition.  Springer.

_S_e_e _A_l_s_o:

     'surf.gls', 'trmat', 'semat'

_E_x_a_m_p_l_e_s:

     data(topo, package="MASS")
     topo.kr <- surf.gls(2, expcov, topo, d=0.7)
     prsurf <- prmat(topo.kr, 0, 6.5, 0, 6.5, 50)
     contour(prsurf, levels=seq(700, 925, 25))

