| march.indep.construct {march} | R Documentation |
Construct an independence model (zero-order Markov chain).
Description
Construct a march.Indep-class model from a given march.Dataset-class,
the first maxOrder elements of each sequence being truncated in order to return a model
which can be compared with other Markovian models of visible order maxOrder.
Usage
march.indep.construct(y, maxOrder = 0)
Arguments
y |
the |
maxOrder |
the maximum visible order among the set of Markovian models to compare. |
Value
The march.Indep-class constructed using dataset y and maxOrder.
Author(s)
Ogier Maitre
See Also
march.Indep-class, march.Model-class, march.Dataset-class.
Examples
# Build an independance model from the pewee data set.
model <- march.indep.construct(pewee)
print(model)
[Package march version 3.3.2 Index]