publish.survdiff {Publish} | R Documentation |
Alternative summary of survdiff results
Description
Alternative summary of survdiff results
Usage
## S3 method for class 'survdiff'
publish(object, digits = c(2, 4), print = TRUE, ...)
Arguments
object |
Object obtained with |
digits |
Vector with digits for rounding numbers: the second for pvalues, the first for all other numbers. |
print |
If |
... |
Not (yet) used. |
Author(s)
Thomas A. Gerds <tag@biostat.ku.dk>
Examples
library(survival)
data(pbc)
sd <- survdiff(Surv(time,status!=0)~sex,data=pbc)
publish(sd)
publish(sd,digits=c(3,2))
[Package Publish version 2023.01.17 Index]