View source: R/auxiliary_functions.R
get_maxK | R Documentation |
Maximum number of transitions given occupation time, total iterations and initial state.
get_maxK(Sx, M, X0 = "0")
Sx |
the sum of 1's in M samples. |
M |
number of samples. |
X0 |
initial state. Either |
maximum possible number of state-transitions (changes).
get_maxK(Sx = 3, M = 10) # should be 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.