spatstat functions

  • quadratcount(<ppp>, nx = , ny = ) to define subregions (nx columns, ny rows) and count events per subregion
  • quadrat.test(<quadratcount>) for CSR hypothesis testing. Extra arguments:
    • alternative =: possible are "two-sided" (default), "clustered" and "regular"
    • method =: defaults to "Chisq"; "MonteCarlo" is also possible (CSR distribution by simulations)