Description Usage Arguments Value Note Examples
Coercion of Tracks
objects to objects of class MoveBurst
.
For further details please see the vignette!
1 2 | ## S4 method for signature 'Tracks'
as.MoveBurst(obj)
|
obj |
object of class |
Object of class MoveBurst
The method may be used in two ways: as(obj, "MoveBurst") or as.MoveBurst(obj).
The coercion to MoveBurst
objects just works if the package move
or at least the package sp is explicitly loaded.
1 2 3 4 5 6 7 8 9 | ## Load example toy data
load(system.file("extdata","trajaggr_TestData.RData", package = "trajaggr"), verbose = FALSE)
## Coerce Tracks to MoveBurst
require(move)
moveB_Trcs_A <- as.MoveBurst(Tracks_A)
class(moveB_Trcs_A)
slot(moveB_Trcs_A, "data")
slot(Tracks_A[1], "data")
slot(Tracks_A[2], "data")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.