march.indep.construct: Construct an independence model (zero-order Markov chain).

Description Usage Arguments Value Author(s) See Also Examples

View source: R/march.indep.R

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

1
march.indep.construct(y, maxOrder = 0)

Arguments

y

the march.Dataset-class from which construct the model.

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

1
2
3
# Build an independance model from the pewee data set.
model <- march.indep.construct(pewee)
print(model)

march documentation built on Sept. 13, 2017, 3:01 a.m.