Skip to contents

An S4 class to represent a Frequency Increment Test results.

Usage

# S4 method for IncrementTest,ANY,missing
[[(x, i)

Arguments

x

An object from which to extract element(s) or in which to replace element(s).

i

A character string specifying elements to extract.

Functions

  • x[[i: Extracts information from a slot selected by subscript i. i is a length-one character vector. Returns the corresponding slot values.

Slots

counts

An \(m \times p\) numeric matrix of count data.

dates

A length-\(m\) numeric vector of dates.

statistic

A numeric vector giving the values of the t-statistic.

parameter

An integer giving the degrees of freedom for the t-statistic.

p_value

A numeric vector giving the the p-value for the test.

Coerce

In the code snippets below, x is an IncrementTest object.

as.data.frame(x)

Coerces to a data.frame.

Author

N. Frerebeau