allstats              package:spatstat              R Documentation

_C_a_l_c_u_l_a_t_e _f_o_u_r _s_t_a_n_d_a_r_d _s_u_m_m_a_r_y _f_u_n_c_t_i_o_n_s _o_f _a _p_o_i_n_t _p_a_t_t_e_r_n.

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

     Calculates the F, G, J, and K summary functions for an unmarked
     point pattern. Returns them as a function array (of class
     `"fasp"', see `fasp.object').

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

       allstats(pp, dataname=NULL, verb=F)

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

      pp: The observed point pattern, for which summary function
          estimates are required.  An object of class `"ppp"'. It must
          not be marked. 

dataname: A character string giving an optional (alternative) name for
          the point pattern. 

    verb: A logical value meaning ``verbose''. If `TRUE', progress
          reports are printed during calculation. 

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

     This computes four standard summary statistics for a point
     pattern: the empty space function F(r), nearest neighbour distance
     distribution function G(r), van Lieshout-Baddeley function J(r)
     and Ripley's function K(r). The real work is done by  `Fest',
     `Gest', `Jest' and `Kest' respectively. Consult the help files for
     these functions for further information about the statistical
     interpretation of F, G, J and K.

     If `verb' is `TRUE', then ``progress reports'' (just indications
     of completion) are printed out when the calculations are finished
     for each of the four function types.

     The overall title of the array of four functions (for plotting by
     `plot.fasp') will be formed from the argument `dataname'. If this
     is not given, it defaults to the expression for `pp' given in the
     call to `allstats'.

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

     A function array (an object of class `"fasp"', see `fasp.object').
     This can be plotted using `plot.fasp'.

     The function array has dimensions 2 * 2 with the entries at
     positions `[1,1]', `[1,2]', `[2,1]' and `[2,2]'  representing
     F(r), G(r), J(r) and K(r) respectively.

     Each function entry `fns[[i]]' retains the format of the output of
     the relevant estimating routine `Fest', `Gest', `Jest' or `Kest'. 

     The default formulae for plotting these functions are 
     `cbind(km,theo) ~ r' for F, G, and J, and `cbind(border,theo) ~ r'
     for K.

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

     Adrian Baddeley adrian@maths.uwa.edu.au <URL:
     http://www.maths.uwa.edu.au/~adrian/> and Rolf Turner
     rolf@math.unb.ca <URL: http://www.math.unb.ca/~rolf>

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

     `plot.fasp', `fasp.object', `Fest', `Gest', `Jest', `Kest',
     `alltypes'

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

             data(swedishpines)
             a <- allstats(swedishpines,dataname="Swedish Pines")

             plot(a)
             plot(a, subset=list("r<=15","r<=15","r<=15","r<=50"))


