get_start_state_proportions: Get Start State Proportions

Description Usage Arguments Value

View source: R/get_start_state_proportions.R

Description

Population sizes of individuals in each starting state as input for the competing risks model.

Usage

1
2
get_start_state_proportions(path_probs, startstateid, samplesize,
  numsamples)

Arguments

path_probs

Probabilitites along each branch, from root to leaf usinghj calc_pathway_probs

startstateid

How to group terminal nodes

samplesize

Total population size

numsamples

Number of realisations

Value

list


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