Learn R Programming

Ternary (version 2.3.3)

HoldridgeToXY: Convert user-specified ternary coordinates into X and Y coordinates

Description

Accepts various formats of input data; extracts ternary coordinates and converts to X and Y coordinates.

Usage

HoldridgeToXY(pet, prec)

CoordinatesToXY(coordinates)

Value

CoordinatesToXY() returns an array of two rows, corresponding to the X and Y coordinates of coordinates.

Arguments

pet, prec

Numeric vectors giving potential evapotranspiration ratio and annual precipitation (in mm).

coordinates

A list, matrix, data.frame or vector in which each element (or row) specifies the three coordinates of a point in ternary space.

Functions

  • HoldridgeToXY(): Convert from Holdridge coordinates