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))

