expcov                package:spatial                R Documentation

_S_p_a_t_i_a_l _C_o_v_a_r_i_a_n_c_e _F_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Spatial covariance functions for use with 'surf.gls'.

_U_s_a_g_e:

     expcov(r, d, alpha = 0, se = 1)
     gaucov(r, d, alpha = 0, se = 1)
     sphercov(r, d, alpha = 0, se = 1, D = 2)

_A_r_g_u_m_e_n_t_s:

       r: vector of distances at which to evaluate the covariance 

       d: range parameter 

   alpha: proportion of nugget effect 

      se: standard deviation at distance zero 

       D: dimension of spheres. 

_V_a_l_u_e:

     vector of covariance values.

_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'

_E_x_a_m_p_l_e_s:

     data(topo, package="MASS")
     topo.kr <- surf.ls(2, topo)
     correlogram(topo.kr, 25)
     d <- seq(0, 7, 0.1)
     lines(d, expcov(d, 0.7))

