calculateMetrics: Calculate regime detection metrics

Description Usage Arguments

View source: R/calculateMetrics.R

Description

Calculates regime detection metrics across space or time. Calculates distance travelled, Fisher Information, Variance Index, Coefficient of Variation, mean, standard deviation, variance,skewness, and kurtosis. #' @param dataIn A data frame containing columns c(variable, time, value).

Usage

1
2
3
calculateMetrics(dataIn, metrics.to.calc = c("distances", "ews"),
  min.samp.sites = 8, direction, yearInd, to.calc = c("EWS", "FI",
  "VI"))

Arguments

dataIn

data frame with columns: sortVar (the sorting variable; latitude or longitude), cellID (cell ID for the spatial grid), variable (species), value (count data).

metrics.to.calc

One or more of c("distances", "ews")

min.samp.sites

Minimum number of unique sites in the transect (or unique times along the time series) required to analyze the data. Most metrics can be calculated using three data points, although we do not nrecommend this.

direction

Direction of the analysis (South-North or East-West)


TrashBirdEcology/bbsRDM documentation built on July 21, 2019, 2:18 a.m.