View source: R/calculate_distanceTravelled.R
Calculate the 'distance travelled' by the entire system. Also calculates the velocity and acceleration of the entire system over the time series.
1 | calculate_distanceTravelled(dataInDist, derivs = TRUE, print = TRUE)
|
dataInDist |
A data frame containing the following columns: "Variable" is usually species identity; "Value" is the observed value (e.g. count, density) of the variable; "sortVar" is the variable along which distance is calculated (e.g., time). The example data set is munged such that the sortVar column is named time. |
derivs |
logical (default TRUE), calculates the velocity and acceleration of the distance travelled |
print |
logical (default TRUE), prints output to device |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.