partition_tempdev: Alternative temperature deviate scheme 3: The grid is...

Description Usage Arguments Value

View source: R/tempdev20.R

Description

Alternative temperature deviate scheme 3: The grid is partitioned into land types, proportional in size to the land type's frequency in the "realistic" land types. The order in which each partition appears is randomly generated. This requires initialise_enzyme_wmicroclim to have run first, and landtype.df must be loaded into the global environment.

Usage

1
partition_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.