##= load NCC example ======================================
setDALYexample(1)
##= perform DALY calculation, store results in 'x' ========
x <- getDALY()
##= perform DALY sensitivity analysis =====================
## default sensitivity analysis
sa <- sensitivity(x)
print(sa)
## tornado plot of default sensitivity analysis
plot(sa, show_values = TRUE)
## standardized regression coefficients -------------------
sensitivity(x, method = "src", rank = FALSE, mapped = TRUE)
sensitivity(x, method = "src", rank = FALSE, mapped = FALSE)
## standardized rank regression coefficients --------------
sensitivity(x, method = "src", rank = TRUE, mapped = TRUE)
sensitivity(x, method = "src", rank = TRUE, mapped = FALSE)
## partial correlation coefficients -----------------------
sensitivity(x, method = "pcc", rank = FALSE)
## partial rank correlation coefficients ------------------
sensitivity(x, method = "pcc", rank = FALSE)Run the code above in your browser using DataLab