hotspots.MatClustlpp: Hot spots detection for Matern point process - parallel...

View source: R/appl_hotspots.r

hotspots.MatClustlppR Documentation

Hot spots detection for Matern point process - parallel version

Description

See the hotspots vignette available by starting R, typing library("GET") and vignette("GET").

Usage

hotspots.MatClustlpp(
  PP,
  formula,
  R,
  alpha,
  data,
  sigma = 250,
  nsim = 10000,
  ncores = 1L,
  ...
)

Arguments

PP

Input, a point pattern object (ppp) of spatstat.

formula

An R formula to estimate the first order model. This formula can contain objects of full size. PP should be on the left side of the formula.

R

Cluster radius parameter of the Matern cluster process.

alpha

Parameter related to mean number of points per cluster.

data

Data from where the formula takes objects. Must be acceptable by the function lppm of spatstat.linnet.

sigma

To be passed to density.lpp.

nsim

Number of simulations to be performed.

ncores

Number of cores used for computations. Default to 1. If NULL, all available cores are used.

...

Additional parameters to be passed to fdr_envelope.

References

Mrkvička et al. (2023). Hotspot detection on a linear network in the presence of covariates: A case study on road crash data. DOI: 10.2139/ssrn.4627591


myllym/GET documentation built on July 3, 2025, 8:48 p.m.