Learn R Programming

phenology (version 3.72)

ChangeCoordinate: Return a value in a changed coordinate

Description

Return a value in a changed coordinate

Usage

ChangeCoordinate(x = stop("At least one value to convert must be provided"),
  initial = stop("Set of two values must be provided as references"),
  transformed = stop("Set of two transformed values must be provided"))

Arguments

x
value to convert
initial
Set of two values in the original system
transformed
Set of the two values in the converted system

Value

  • A value in the new system

Details

ChangeCoordinate returns a value in a changed coordinate

Examples

Run this code
ChangeCoordinate(x=c(10, 20), initial=c(1, 100), transformed=c(0, 1))

Run the code above in your browser using DataLab