proportional_random_tempdev: Alternative temperature deviate scheme 2: Temperature...

Description Usage Arguments Value

View source: R/tempdev20.R

Description

Alternative temperature deviate scheme 2: Temperature deviates picked randomly, but proportional to their prevalence in the "realistic" tempdev scheme/ This requires initialise_enzyme_wmicroclim to have run first, and landtype.df must be loaded into the global environment.

Usage

1
proportional_random_tempdev(landtype.df, noLandTypes, typeTempDevs)

Arguments

landtype.df

Dataframe of each grid space lat/long, their "realistic" land type, their "realistic" temperature deviate, and their grid ID.

noLandTypes

Number of land types.

typeTempDevs

Vector of temperature deviates. Must be of length noLandTypes.

Value

A vector of randomly assigned LandTypes.


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