wrappers                package:geoR                R Documentation

_W_r_a_p_p_e_r_s _f_o_r _t_h_e _C _f_u_n_c_t_i_o_n_s _u_s_e_d _i_n _g_e_o_R

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

     These functions are wrappers for some (but not all) the C
     functions included in the geoR package.
     Typically the C code is directly  called from the geoR functions
     but these functions allows independent calls.

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

     distdiag(coords)
     loccoords(coords, locations)
     diagquadraticformXAX(X, lowerA, diagA) 
     bilinearform(X, lowerA, diagA, Y) 

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

  coords: an n x 2 matrix with the data coordinates.  

locations: an N x 2 matrix with the coordinates of the prediction
          locations. 

  lowerA: a vector with the diagonal terms of the symmetric matrix  A. 

   diagA: a vector with the diagonal terms of the symmetric matrix A. 

       X: a matrix with conforming dimensions. 

       Y: a matrix with conforming dimensions. 

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

     The outputs for the different functions are: 

loccoords: returns a n x N  matrix with distances between data points
          and prediction locations.  

distdiag: returns a vector with distances between data locations,
          including  the diagonal zero values.  

diagquadraticformXAX: returns a vector with the diagonal term of the
          quadratic form t(X) %*% A %*% X.  

bilinearform: returns a vector or a matrix with the terms of the
          quadratic form t(X) %*% A %*% Y.  

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

     Paulo Justiniano Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br, 
     Peter J. Diggle p.diggle@lancaster.ac.uk.

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

     Further information about geoR can be found at:
     <URL: http://www.maths.lancs.ac.uk/~ribeiro/geoR.html>.

