Description Usage Arguments Value
Run one time step of the simulation, implementing management actions at the sub-pixel parcel level. This is specifically designed for integration with the USDA-NIFA economic decision model, where management actions are taken by individual parcels which may be smaller than the land cover map pixels. The indexing is consequently different than for the other iteration functions.
1 2 3 | iterate_pop_econ(parcel.df, pp.ls, N.0, B.0, g.p, lc.df, sdd, control.p,
grd_cover.i = NULL, mech_chem.i = NULL, read_write = FALSE,
path = NULL)
|
parcel.df |
Dataframe with index columns ("id", "id.in", "id.pp"), and columns detailing land cover proportions and grid proportions. |
pp.ls |
List of length ncell where each element i identifies which id.i$id.pp are within pixel i |
N.0 |
Array with initial population sizes, either returned from a
previous iteration or read from a stored .rds file in |
B.0 |
Vector of initial seed bank abundances, either returned from a
previous iteration or read from a stored .rds file in |
g.p |
Named list of global parameters set with |
lc.df |
Dataframe or tibble with xy coords, land cover proportions, and cell id info |
sdd |
Output with short distance dispersal neighborhoods created by
|
control.p |
NULL or named list of buckthorn control treatment parameters
set with |
grd_cover.i |
|
mech_chem.i |
|
read_write |
|
path |
|
Array N of abundances for each cell and age group, and vector B of seed bank abundances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.