Perform a mathematical reflection of coordinates over a specified axis
Source:R/coordinate-transformations.R
reflect.Rd
Perform a mathematical reflection of coordinates over a specified axis
Examples
reflect(data.frame(x = 1, y = 0))
#> x y
#> 1 -1 0