Return a value in a changed coordinate system.
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")
)
value to convert
Set of two values in the original system
Set of the two values in the converted system
A value in the new system
ChangeCoordinate returns a value in a changed coordinate
# NOT RUN {
ChangeCoordinate(x=c(10, 20), initial=c(1, 100), transformed=c(0, 1))
# }
Run the code above in your browser using DataLab