Generic S3 methods to extract the z-statistic from a set of survival fit objects
extract_z(fit, ...)# S3 method for survdiff
extract_z(fit, ...)
# S3 method for coxph
extract_z(fit, arm, ...)
# S3 method for survreg
extract_z(fit, arm, ...)
a numeric value, the z statistic for the independence test of the treatment arm
a fitted survival object : survdiff, coxph, survreg
extendible arguments to the S3 method
a character vector giving the name of the covariate representing the treatment arm.
extract_z(survdiff): Method for survdiff
extract_z(coxph): Method for coxph objects
extract_z(survreg): Method for survreg objects
Simon Bond