idcFUN: An inverse distance correlation function.

Description Usage Arguments Examples

Description

This function compares the correlations of one site against the other sites in the network. The final product is a sum of the correlations multiplied by the inverse distance. Data are rolled iteratively to make a continuous examination of network correlations over time.

Usage

1
2
idcFUN(x, obs = "obs", date = "date", group, lat, lon, reflective = TRUE,
  theta = 0.5, tau = 120, window.size = 72)

Arguments

obs

The column under examination.

date

A date column (set up as YYYY-MM-DD HH:MM:SS).

group

This is the column where data will be partitioned upon (either site or time).

lat

Latitude.

lon

Longitdue.

reflective

This decides whether to use a selected time period of data (reflective, 'TRUE', the default setting), or to use the data from the latest day (live, 'FALSE').

theta

This sets the test threshold on whether to flag the data. Defaults to 'NA' (no flags given).

tau

This sets the day threshold on whether to flag the data given consistent theta flags. Defaults to 'NA' (no flags given).

Examples

1

gmiskell/CrossAutoFunctions documentation built on May 31, 2019, 11:50 p.m.