Coarsens a Markov chain to a reduced state space. By default the
function requires exact lumpability. With force = TRUE, it performs an
approximate aggregation using stationary weights when available and arithmetic
averages for macro-states with zero stationary mass.
lump(object, partition, force = FALSE)# S4 method for markovchain
lump(object, partition, force = FALSE)
A markovchain object on the macro-state space.
A markovchain object.
A named list of character vectors defining macro-states.
If FALSE, stop unless the chain is exactly lumpable. If
TRUE, return a weighted approximate lumping.