initialise_enzyme_wmicroclim: Constructs the EKM chart with microclimates. Uses data about...

Description Usage Arguments Value

View source: R/tempdev20.R

Description

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:

  1. Uncovered greenery

  2. Vegetation

  3. Roads

  4. Water bodies

  5. Carpark/uncovered concrete

  6. Large buildings

  7. Houses (tempdev informed by house type)

Usage

1
2
3
4
5
6
7
8
9
initialise_enzyme_wmicroclim(
  bdary,
  tempData,
  typeTempDevs,
  noDays,
  noLandTypes,
  gridSize,
  const
)

Arguments

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.

Value

A list of 4 dataframes for each development stage, of the EKS for each day of the simulation per each land type


beeysian/cairnsmozzie documentation built on Feb. 15, 2021, 12:12 a.m.