Simulate a dataset in a square area

simulate_observations(
  density = 1e-05,
  area = 4e+06,
  gamma = 0.5,
  max_dist = 336,
  n_survey = 4,
  p_detection = 0.6,
  status_distribution = c(0.2, 0.5, 0.3)
)

Arguments

density

Density as the number of territoria per m².

area

Area in which to simulate territoria in m².

gamma

interaction parameter of the Strauss process. See gamma in spatstat.core::rStrauss().

max_dist

maximum clustering distance in m.

n_survey

Number of surveys.

p_detection

Probability of detection within a survey.

status_distribution

a weighting vector for statuses. The order of the vector is the number of the status.