Skip to content

Commit df84698

Browse files
committed
Update cSTM_time_indep.R
1 parent 490a42e commit df84698

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

analysis/cSTM_time_indep.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ library(gridExtra)
6363
library(ggthemes) # For colorblind palettes
6464
library(scales) # For dollar signs and commas
6565
library(boot)
66-
# library(dampack) # For CEA and PSA visualization functionality
66+
# library(dampack) # Uncomment to use CEA and PSA visualization functionality form dampack instead of the functions included in this repository
6767
library(darthtools) # For WCC, parameter transformation an matrix checks
6868
library(doParallel)
6969

@@ -328,7 +328,7 @@ table_cea
328328

329329
### CEA frontier
330330
plot(df_cea, label = "all") +
331-
expand_limits(x = max(table_cea$QALYs) + 0.5)
331+
expand_limits(x = max(table_cea$QALYs) + 0.1)
332332

333333
################### Probabilistic Sensitivity Analysis (PSA) ###################
334334
### Load model, CEA and PSA functions
@@ -374,10 +374,10 @@ l_params_all <- list(
374374
v_names_params <- names(l_params_all)
375375

376376
# Test function to compute CE outcomes
377-
calculate_ce_out(l_params_all)
377+
calculate_ce_out(l_params_all) # Function included in "R/Functions_cSTM_time_indep.R"
378378

379379
# Test function to generate PSA input dataset
380-
generate_psa_params(10)
380+
generate_psa_params(10) # Function included in "R/Functions_cSTM_time_indep.R"
381381

382382
# Number of simulations
383383
n_sim <- 1000

0 commit comments

Comments
 (0)