Description Usage Arguments Details Value See Also Examples
Get VT
1 |
track |
a track object generated using |
units |
one of ('secs', 'mins', 'hours', 'days') used to identify the unit of time for output (default = 'hours'). |
geoDist |
to estimate step lengths using the x/y coordinate units (FALSE) or the WGS ellipsoidal distances using LonLat (uses the function pointDistance(..., lonlat=TRUE) from raster package). |
Generates vector (i.e., movement) statistics for a track object.
Returns the original data frame with "z", "z.start", "z.end" (complex numbers indicating location), 'stepLength' (step length), 'phi' and 'theta' (absolute and relative turning angles, respectively), 't.start', 't.end', 't.mid' (numeric time), dT (difference in time over step), 'v' (velocity, default meters / hour), and 't.mid.POSIX' (time mid point in POSIX).
processMovedata, pointDistance
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
### Enter Login and Password information for Movebank
# login <- movebankLogin(username="xxxx", password="xxxx")
# Download data
ds <- getMovebankData(study="ABoVE: NPS Dall Sheep Lake Clark", login=login)
# Process data for use in above package
ds.mt <- processMovedata(ds, idcolumn = "individual_id", projTo = '+init=epsg:3338',
keepCols = c('sex'), dailymean = TRUE)
# Summarize and find individual
ds.vt <- getVT(ds.mt, units = 'hours', geoDist = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.