march.mc.construct {march} | R Documentation |
A march.Mc-class
object of order order is constructed from
the dataset y. The first maxOrder-order elements of each sequence of the dataset are truncated in order to return a model
which can be compared with other Markovian models of visible order maxOrder.
march.mc.construct(y, order, maxOrder = order)
y |
the |
order |
the order of the constructed Markov Chain. |
maxOrder |
the maximum visible order among the set of Markovian models to compare. |
the march.Mc-class
of order order constructed w.r.t the dataset y and maxOrder.
Ogier Maitre
march.Mc-class
, march.Model-class
, march.Dataset-class
.
# pewee dataset is a data object of the march package in march.Dataset class format.
model <- march.mc.construct(pewee,2)
# print the reduced form of the transition matrix of the Markovian Model.
print(model@RC)