nsd | R Documentation |
The function nsd()
calculates the net squared displacement (i.e., the squared distance from the first location of a track) for a track. The function add_nsd()
add a new column to a track or steps object with the nsd (the column name is nsd_
).
nsd(x, ...)
## S3 method for class 'track_xy'
nsd(x, ...)
add_nsd(x, ...)
## S3 method for class 'track_xy'
add_nsd(x, ...)
## S3 method for class 'steps_xy'
add_nsd(x, ...)
x |
|
... |
Further arguments, none implemented. |
Numeric vector (for nsd()
) and a tillbe with the original data with a new column for add_nsd()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.