Learn R Programming

trackdf (version 0.3.3)

bind_tracks: Bind Multiple Track Tables by Row

Description

bind_tracks uses data.table::rbindlist to combine track tables by rows, but makes sure that you cannot bind together two tables with different projections or time zones, that the projection attribute is inherited by the resulting track table, and that track tables based on different table classes are coerced to the same table class.

Usage

bind_tracks(...)

Value

A track table.

Arguments

...

A list containing track table objects, or the names of track table objects separated by commas. The track tables must have the same projection and time zone.

Author

Simon Garnier, garnier@njit.edu

Examples

Run this code
data(short_tracks)

bind_tracks(short_tracks, short_tracks)
bind_tracks(list(short_tracks, short_tracks))

Run the code above in your browser using DataLab