Description Usage Arguments Value Examples
Calculate stability, spread, and symmetry metrics for all transition matrices within a transition array
1 | transStats(x)
|
x |
An object of class "transArray" |
A data frame with the following columns:
subjectID
: participant ID
matObs
: transition matrix observation
stability
: stability value
spread
: spread value
symmetry
: symmetry value
1 2 3 4 5 6 7 8 9 | #load in example data
library(Matrix)
data(exampleTransitionData)
#calculate transition array for example data with a window size of 5
myArray <- buildTransArray(exampleTransitionData, W=5)
#get transition metrics
results <- transStats(myArray)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.