R/surv.mod.R

#' Example model for a survival outcome
#'
#' A generated model with a survival endpoint and a cuymulative hazard function
#' estimated using flexible parametric splines. Data for the model were
#' synthetically generated and are based on a dataset to
#' evaulate the use of Sorafenib in HCC akin to the PROSASH model
#' @references Using prognostic and predictive clinical features to make
#' personalised survival prediction in advanced hepatocellular carcinoma patients
#' undergoing sorafenib treatment. Berhane S, et al., Br J Cancer. 2019 Jul;121(2):117-124
#'
#' @format A model of class 'flezsurvreg':
#' \describe{
#'  \item{gamma}{cumulative baseline hazard parameters}
#'  \item{vi}{vascular invasion}
#'  \item{age60}{patient age (centred at 60)}
#'  \item{ecog}{ECOG performance Status}
#'  \item{logafp}{AFP - log scale}
#'  \item{alb}{albumin}
#'  \item{logcreat}{Creatinine - log scale}
#'  \item{allmets}{metastesis}
#'  \item{ageVasInv}{centred age nested within vascular invasion}
#'  \item{time}{survival time}
#'  \item{cen}{censoring indicator}
#'  \item{os}{survival time}de
#'  \item{count}{exapmple outcome for count data}
#'  \item{trt}{exapmple identifier for mulitple treatment comparisons}
#'  \item{aet}{Aetiology}
#' }
#' @source simulated
"surv.mod"

Try the psc package in your browser

Any scripts or data that you put into this service are public.

psc documentation built on June 8, 2025, 10:16 a.m.