compute.cost.prob.Rd
Compute flow of costs given a tree of probability
compute.cost.prob(cost_base, cost_change, tree)
vector of base costs.
vector of change costs.
matrix of probability of being in a given branch. First column is for the basic states, the other are for the change states. Beware tree must be "cumulative".
vector of compounded costs