simulate: Run a range simulation

View source: R/functions.R

simulateR Documentation

Run a range simulation

Description

Run a range simulation

Usage

simulate(
  sp,
  ls,
  n_steps = 100,
  randomize = TRUE,
  reflect = TRUE,
  record = 3,
  seed = 1,
  ...
)

Arguments

sp

Species parameter list, following species_template().

ls

Landscape spatial data list, following landscape_template().

n_steps

Number of time steps to simulate (integer).

randomize

Should demography and dispersal be randomized (logical)?

reflect

Should dispersers bounce off domain boundary (logical)?

record

Index of age class to record and return (integer).

...

Further arguments passed to neighborhood().

Value

An array of population values over space and time, for the class specified in record.


matthewkling/stranger documentation built on Feb. 25, 2024, 2:31 p.m.