fit_point_process: fit_point_process

Description Usage Arguments Details Value References Examples

View source: R/fit_point_process.R

Description

Fit point process to randomize data

Usage

1
2
3
4
5
6
7
8
fit_point_process(
  pattern,
  n_random = 1,
  process = "poisson",
  return_input = TRUE,
  simplify = FALSE,
  verbose = TRUE
)

Arguments

pattern

ppp object with point pattern

n_random

Integer with number of randomizations.

process

Character specifying which point process model to use. Either "poisson" or "cluster".

return_input

Logical if the original input data is returned.

simplify

Logical if only pattern will be returned if n_random = 1 and return_input = FALSE.

verbose

Logical if progress report is printed.

Details

The functions randomizes the observed point pattern by fitting a point process to the data and simulating n_random patterns using the fitted point process. It is possible to choose between a Poisson process or a Thomas cluster process model. For more information about the point process models, see e.g. Wiegand & Moloney (2014).

Value

rd_pat

References

Plotkin, J.B., Potts, M.D., Leslie, N., Manokaran, N., LaFrankie, J.V., Ashton, P.S., 2000. Species-area curves, spatial aggregation, and habitat specialization in tropical forests. Journal of Theoretical Biology 207, 81–99. <https://doi.org/10.1006/jtbi.2000.2158>

Wiegand, T., Moloney, K.A., 2014. Handbook of spatial point-pattern analysis in ecology. Chapman and Hall/CRC Press, Boca Raton. ISBN 978-1-4200-8254-8

Examples

1
pattern_fitted <- fit_point_process(pattern = species_a, n_random = 39)

shar documentation built on Jan. 4, 2022, 5:08 p.m.