calc_pathway_probs: Calculate Total Pathway Probabilities of Decision Tree

Description Usage Arguments Value See Also

View source: R/calc_pathway_probs.R

Description

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

Usage

1
2
3
4
5
6
7
8
calc_pathway_probs(osNode, FUN, sample_p = FALSE)

## Default S3 method:
calc_pathway_probs(osNode, ...)

## S3 method for class '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

calc_riskprofile


n8thangreen/treeSimR documentation built on Feb. 20, 2022, 11:54 a.m.