View source: R/notcore_utils.r
| summary.vacalibration | R Documentation |
This function prints a summary message of the results along with the top cause-specific mortality fractions (CSMFs).
## S3 method for class 'vacalibration'
summary(object, top = 5, rnd = 4, algorithm = NULL, ...)
object |
|
top |
number of top CSMF to show |
rnd |
number of decimal places to round the CSMF |
algorithm |
a name or vector of names of algorithm(s) which limits the output to those specific results |
... |
not used |
## Not run:
data(NeonatesVA5)
fit_insilico <- codeVA(NeonatesVA5, auto.length = FALSE)
insilico_prep <- prepCalibration(fit_insilico)
calib_insilico = vacalibration::vacalibration(va_data = insilico_prep,
age_group = "neonate",
country = "Mozambique",
plot_it = FALSE)
calib_insilico_summ <- summary(calib_insilico)
names(calib_insilico_summ)
calib_insilico_summ
fit_interva <- codeVA(NeonatesVA5, model = "InterVA", version = "5", write = FALSE)
interva_prep <- prepCalibration(fit_interva)
calib_interva = vacalibration::vacalibration(va_data = interva_prep,
age_group = "neonate",
country = "Mozambique",
plot_it = FALSE)
summary(calib_interva, top = 3)
two_fits <- prepCalibration(fit_insilico, fit_interva)
calib_ensemble = vacalibration::vacalibration(va_data = two_fits,
age_group = "neonate",
country = "Mozambique",
plot_it = FALSE)
summary(calib_ensemble)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.