Compute a calendar of differential impacts

# S3 method for calendar
diff(fin, ori, impact, state.ori)

Arguments

fin

Calendar of final states

ori

Calendar of original states, may be probabilistic

impact

Matrix giving impacts between each different states

state.ori

Vector or original state. May be missing, useful only when impacts are complete and ori is probabilistic.

Value

Calendar of impacts

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org