as_track: Coerce to track

View source: R/as_track.R

as_trackR Documentation

Coerce to track

Description

Coerce other classes to a track_xy.

Usage

as_track(x, ...)

## S3 method for class 'sfc_POINT'
as_track(x, ...)

## S3 method for class 'steps_xyt'
as_track(x, ...)

## S3 method for class 'data.frame'
as_track(x, ...)

Arguments

x

Object to be converted to a track.

...

Further arguments, none implemented.

Value

An object of class track_xy(t)


amt documentation built on March 31, 2023, 5:29 p.m.