rvFUN: A daily ranked variance function

Description Usage Arguments Examples

Description

This function gives the daily ranked variance for an observation, relative to a pool of other observations.

Usage

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

Arguments

obs

This is the numeric column under investigation.

date

This is a required column with the format 'YYYY-MM-DD HH:MM:SS'.

group

This is the first grouping value of the data, with the default being 'site'.

reflective

This decides whether to use all selected data (TRUE), or to use data from the latest day (live). Defaults to TRUE.

by.day

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

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/Cross_Auto_Functions documentation built on May 17, 2019, 7:24 a.m.