Displaying 1 result from an estimated 1 matches for "f69jvfq17493".
2001 Jul 09
3
transitions in R
Hi, All. I'd have a set of data in an array:
process <- c( 5 , 7 , 4 , 1 , 4 , 1 , 4 , 1 , 4 , 4 , 1 , 5 , 4 , ...)
and I'd like to know the number of transitions in this data. I
calculate transitions as the number of times a number follows another
number. thus, something like this would be a 1 deep transition:
1 --> 1 : 10% (and actual number of 1 --> 1 occurrences)
1