clusterFUN: A daily cluster function.

Description Usage Arguments Examples

Description

A daily cluster function.

Usage

1
2
clusterFUN(x, date, obs, group, by.day = TRUE, reflective = TRUE,
  theta = NA, tau = NA)

Arguments

date

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

obs

The column under observation.

group

A column which the data are partitioned on (either spatial or temporal).

by.day

An option where analysis uses data from only that day ("cross", 'TRUE', default), or uses all selected data ("auto", 'FALSE'). If selecting auto, the last five days will be used.

reflective

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

theta

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

tau

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.