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

