Learn R Programming

amt (version 0.2.2.0)

as_sf_points: Coerces a track to points

Description

Coerces a track to points from the sf package.

Usage

as_sf_points(x, ...)

# S3 method for steps_xy as_sf_points(x, end = TRUE, ...)

Value

A data data.frame with a sfc-column

Arguments

x

[track_xy, track_xyt]
A track created with make_track.

...

Further arguments, none implemented.

end

[logical(1)=TRUE]
For steps, should the end or start points be used?