dsquare               package:splancs               R Documentation

_D_i_s_t_a_n_c_e-_s_q_u_a_r_e_d _f_r_o_m _a _n_u_m_b_e_r _o_f _p_o_i_n_t_s _t_o _a _n_u_m_b_e_r _o_f _s_o_u_r_c_e_s

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

     Computes the distance-squared from a number of points to a number
     of sources.

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

     dsquare(pts, srcs, namepref="d")

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

     pts: A number of points representing the locations of cases and
          controls. 

    srcs: A number of points representing source locations 

namepref: A prefix given to the name of the results. 

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

     A data frame with the same number of  columns as 'srcs'. The
     column names will  be the value of 'namepref' prefixing the
     numbers from 1 to the number of sources.

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

     Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern
     analysis code in S-Plus.  Computers and Geosciences, 19, 627-655;
     the original sources can be accessed at: <URL:
     http://www.maths.lancs.ac.uk/~rowlings/Splancs/>. See also Bivand,
     R. and Gebhardt, A. 2000 Implementing functions for spatial
     statistical analysis using the R language. Journal of Geographical
     Systems, 2, 307-317.

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

     'tribble', 'triblik'

