CoordinatesToXY: Convert user-specified ternary coordinates into X and Y...

View source: R/TernaryPlot.R

HoldridgeToXYR Documentation

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)

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.

Value

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

Functions

  • HoldridgeToXY(): Convert from Holdridge coordinates

Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)


Ternary documentation built on Sept. 11, 2024, 6:39 p.m.