Description Usage Arguments Value Examples
View source: R/buildTransArray.R
Builds a transition array between raw time series data
1 | buildTransArray(x, W = 5)
|
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. |
An object of class "transArray". An array of transition matrices with the following dimensions:
dimension 1: participant
dimension 2: first time series
dimension 3: second time series
dimension 4: transition matrix
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.