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 steps_xyt as_track(x, ...)# S3 method for data.frame as_track(x, ...)
# S3 method for SpatialPoints as_track(x, ...)
# S3 method for sfc_POINT as_track(x, ...)
# S3 method for steps_xyt as_track(x, ...)
# S3 method for data.frame as_track(x, ...)
An object of class track_xy(t)
track_xy(t)
Object to be converted to a track.
Further arguments, none implemented.
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