powered by
Coerce other classes (currently implemented: SpatialPoints) to a track_xy.
SpatialPoints
track_xy
as_track(x, ...)# S3 method for SpatialPoints as_track(x, ...)# S3 method for sfc_POINT as_track(x, ...)
# S3 method for SpatialPoints as_track(x, ...)
# S3 method for sfc_POINT as_track(x, ...)
[SpatialPoints] Object to be converted to a track.
[SpatialPoints]
Further arguments, none implemented.
# NOT RUN { xy <- sp::SpatialPoints(cbind(c(1, 3, 2, 1), c(3, 2, 2, 1))) as_track(xy) # }
Run the code above in your browser using DataLab