Learn R Programming

trip (version 1.1-1)

as.trip: Coercion from other classes to trip objects

Description

Coercing objects to trip class

Usage

as.trip(x, ...)

Arguments

x,
ltr ltraj object
...
Arguments passed to other methods. Ignored for ltraj method.

Examples

Run this code
## Continuing the example from '?trip-methods:
utils::example("trip-methods", package="trip",
               ask=FALSE, echo=FALSE)

if (require(adehabitatLT)) {
    ##l <- as.ltraj.trip(tr)
    ##ltraj2trip(l)
    ##as.trip(l)
}

Run the code above in your browser using DataLab