data(CameronMutual)
## default Markov Chain states with (roughly) equally occupied bins
incrExplor(CameronMutual)
## five Markov Chain states (with roughly equally occupied bins)
incrExplor(CameronMutual, states = 5)
## explicitly defined breaks for five increment bins while the Markov states
## are obtained as medians of the increments within each bin
incrExplor(CameronMutual, breaks = c(20, 500, 1000, 2000))
## explicitly defined breaks for five bins and the Markov states
## are given as the maximum increments within each bin
incrExplor(CameronMutual, breaks = c(20, 500, 1000, 2000), method = "max")
## manually defined breaks for the bins and the corresponding states
## exactly one state must be within each break
incrExplor(CameronMutual, breaks = c(20, 500, 1000),
states = c(10, 250, 800, 1500))
Run the code above in your browser using DataLab