ChangeCoordinate: Return a value in a changed coordinate

View source: R/ChangeCoordinate.R

ChangeCoordinateR Documentation

Return a value in a changed coordinate

Description

Return a value in a changed coordinate system.

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

Details

ChangeCoordinate returns a value in a changed coordinate

Value

A value in the new system

Author(s)

Marc Girondot marc.girondot@gmail.com

Examples

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

HelpersMG documentation built on Oct. 5, 2023, 5:08 p.m.