cost_data.df {packDAMipd}R Documentation

cost matrix

Description

cost matrix

Usage

cost_data.df

Format

A 11 by 2 dataframe

Source

created on Nov 26, 2019 from tmat <- rbind(c(1, 2), c(3, 4)) colnames(tmat) <- rownames(tmat) <- c("Healthy", "Dead") tm <- transition_matrix(2, tmat, c(0.5, 0.5, 0, 1)) a <- health_state("Healthy", 1, 1, FALSE) b <- health_state("Dead", 1, 0, TRUE) health_states <- combine_state(a, b) this.strategy <- strategy(tm, health_states, "intervention")


[Package packDAMipd version 1.1.0 Index]