View source: R/fidelity_funs_calculate-return-intensity.R
calc_spint | R Documentation |
Function to calculate spatial intensity of returns.
calc_spint(rets, dist, lag)
rets |
Data frame of returns obtained from |
dist |
Numeric. Distance used to calculate returns. Unit should match the unit of the coordinates: m if UTM, degrees if lat/long. |
lag |
Numeric. Temporal lag of returns (unit is locations, e.g., 42 for
one week at 6h resolution). Must match one of the lags used in
|
A data frame with 2 columns, one for scenario ID and one for the number of returns to each revisited location. For each scenario, the data frame will include as many rows as the number of locations that were revisited at least once.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.