Description Usage Arguments Value
Constructs the EKM chart with microclimates. Uses data about the area of the region we're simulating. If you're using this function for a different area, you will need to change all of the data that's read in in the first part of the function. The lookup table is deterministic, and is made of nested lists. The order will be: [stage][land type][day] So when we update the EKS for each agent, we add the value that is at df[[stage]][land type, ][day] Eg: for an egg that is in land type 1 at time step t=2, we add the value at dt[0][1][2] to the agents' EKS To use this list, indexing works like: EKM_chart[[stage]][land_type, ][day] Land types (as of 16/1/19) are:
Uncovered greenery
Vegetation
Roads
Water bodies
Carpark/uncovered concrete
Large buildings
Houses (tempdev informed by house type)
1 2 3 4 5 6 7 8 9 | initialise_enzyme_wmicroclim(
bdary,
tempData,
typeTempDevs,
noDays,
noLandTypes,
gridSize,
const
)
|
bdary |
Boundary of simulation region. |
tempData |
Vector of average temperatures over the simulation period. |
typeTempDevs |
Temperature deviates for each land type. |
noDays |
Number of days in the simulation period. |
noLandTypes |
Number of different land types we consider. |
gridSize |
Grid size, as per make_grid and bb_to_matchedIDs functions |
const |
Constants for EKM calculation. |
A list of 4 dataframes for each development stage, of the EKS for each day of the simulation per each land type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.