Description Details Slots See Also
SemiParametric class definition
Class storing the fitted Cox semi-parametric model and the Kaplan Meier estimate (from survfit) for a given subgroup and endpoint for a SurvivalData object.
cox
(coxph or NULL) The Cox model fit for the given subgroup and endpoint fitted using coxph
and no stratifiation or covariate variables. NULL if single arm trial
coxWithStrata
(coxph or Null) The Cox model fit for the given subgroup and endpoint fitted
using coxph
and the selected stratifiation and covariate variable.
If no strata included then this is the same as slot cox. NULL if single arm trial and no covariates/strata
km
(survfit) The Kaplan-Meier estimator associated with the given subgroup and endpoint
generated by calling survfit
. Note this estimator does NOT include the covariates
and strata included with the Cox model fit
survData
(SurvivalData) object used when fitting the models. NOTE: if a subgroup was selected when creating this object then only subjects in the given subgroup who have data for the given endpoint will be included in this object
subgroup
(character) which subgroup the SemiParametricModel is associated with (or NA
if not associated with any)
endPoint
(character) which endpoint the SemiParametricModel is associated with
covariates
(character vector) names of covariates used when fitting the Cox model
strata
(character vector) names of covariates to be used to stratify the Cox model fit
endPointDef
(list) defines name, time and censor column for the fitted endpoint
fitSemiParametric
for further information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.