varioCalc               package:StatDA               R Documentation

_V_a_r_i_o_g_r_a_m _C_a_l_c_u_l_a_t_i_o_n

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

     This function calculates (and plots) a variogram.

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

     varioCalc(X, Y, el, max.dist = 300, title = "", km = TRUE, plot = TRUE)

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

       X: X-coordinate 

       Y: Y-coordinate 

      el: vector or matrix with data values 

max.dist: a numerical value defining the maximum distance for the
          variogram. All pairs of locations separated for a distance
          larger than this value are ignored in the variogram
          calculation. 

   title: title for the plot 

      km: if TRUE the distances are given in km, otherwise the unit is
          m 

    plot: if TRUE the variogram is plotted, otherwise only the
          parameters are returned 

_D_e_t_a_i_l_s:

     A omnivariogram, E-W and N-S variogram is calculated and then the
     results are plotted.

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

 vario.b: a omnidirectional variogram

_A_u_t_h_o_r(_s):

     Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

_R_e_f_e_r_e_n_c_e_s:

     C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical
     Data Analysis Explained. Applied Environmental Statistics with R.
     John Wiley and Sons Inc. To appear.

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

     'variog'

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

     data(ohorizon)
     X=ohorizon[,"XCOO"]
     Y=ohorizon[,"YCOO"]
     vario.b=varioCalc(X,Y,el=ohorizon[,"Hg"],max.dist=300000,title=paste("Hg","in O-horizon"),
     km=FALSE)

