powered by
Coordinate transform, propotating non-finite cases.
xy_transform(x, y, from = 4326, to = 4326, na.rm = FALSE)
A data.frame with x and y components.
The x coordinate
The y coordinate
From CRS
To CRS
Warn for non-finite cases?
xy_transform(c(1, 2, 3), c(1, 2, 3), to = 3857) xy_transform(c(1, 2, 3), c(NA, NA, NA), to = 3857) xy_transform(c(1, 2, 3), c(NA, 2, 3), to = 3857) xy_transform(c(1, 2, 3), c(1, 2, NA), to = 3857)
Run the code above in your browser using DataLab