Sequential event operations. The probabilities are calculate with FUN="product" and the values are calculated with FUN="sum".

calc_pathway_probs(osNode, FUN, sample_p = FALSE)

# S3 method for default
calc_pathway_probs(osNode, ...)

# S3 method for costeffectiveness_tree
calc_pathway_probs(osNode,
  FUN = "product", sample_p = FALSE)

Arguments

osNode

object of class costeffectiveness_tree

FUN

sum or product

sample_p

Sample from distirbution or use mean values. default: FALSE

Value

vector of values

See also