buildTransArray: Builds a transition array between raw time series data

Description Usage Arguments Value Examples

View source: R/buildTransArray.R

Description

Builds a transition array between raw time series data

Usage

1
buildTransArray(x, W = 5)

Arguments

x

A data set of binary time series to be included in a transition matrix.

W

A hyperparameter denoting the number of observations to include in a single transition matrix.

Value

An object of class "transArray". An array of transition matrices with the following dimensions:

Examples

1
2
3
4
5
#load in example data
data(exampleTransitionData)

#calculate transition array for example data with a window size of 5
myArray <- buildTransArray(x=exampleTransitionData, W=5)

KatharineDaniel/transitionMetrics documentation built on Jan. 7, 2021, 7:30 p.m.