The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
PERSUADE (ParamEtRic SUrvivAl moDel sElection) is a standardized tool in R to support the selection and communication of parametric survival models in health economic and decision-analytic modelling.
It provides:
This vignette shows how to use PERSUADE with a step-by-step workflow.
The following example reproduces the workflow in
PERSUADE_example_workflow.R
(can be obtained through:
file.edit(system.file("example_workflow", "PERSUADE_example_workflow.R", package = "PERSUADE"))
).
We will use the flexsurv::bc
dataset (time to recurrence
for breast cancer patients):
Define the analysis settings to run PERSUADE:
The main function is f_PERSUADE()
, which generates the
S3 object PERSUADE:
PERSUADE <- f_PERSUADE(
name = name,
years = years,
status = status,
group = group,
strata = FALSE,
spline_mod = TRUE,
cure_mod = TRUE,
cure_link = "logistic", # options: "logistic", "loglog", "identity", "probit"
time_unit = time_unit,
time_horizon = time_horizon,
time_pred_surv_table = time_pred_surv_table
)
The output is a PERSUADE object. You can inspect it using:
palette(rainbow(n = 9, s = 1, v = 1, start = 0, end = max(1, 9 - 1)/9, alpha = 1)) # Set colour palette for Figures
plot(PERSUADE, type = "km") # Kaplan-Meier
plot(PERSUADE, type = "ph") # Proportional hazards
plot(PERSUADE, type = "hr") # Hazard functions
plot(PERSUADE, type = "param_models") # Standard parametric fits
plot(PERSUADE, type = "spline_models") # Spline-based fits
plot(PERSUADE, type = "cure_models") # Cure models
palette("default") # Set colour palette to default
Change tempdir()
into getwd()
for copying
to working directory.
The next step will copy the Excel template
PERSUADE_Excel_template.xltx
to a user specified directory
(default = tempdir()
). This template provides a convenient
structure for transferring survival model parameters into health
economic models.
PERSUADE_example_workflow.R
(file.edit(system.file("example_workflow", "PERSUADE_example_workflow.R", package = "PERSUADE"))
).?f_PERSUADE
.ls("package:PERSUADE")
.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.