| publish.survdiff | R Documentation | 
Alternative summary of survdiff results
## S3 method for class 'survdiff'
publish(object, digits = c(2, 4), print = TRUE, ...)
| 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. | 
Thomas A. Gerds <tag@biostat.ku.dk>
library(survival)
data(pbc)
sd <- survdiff(Surv(time,status!=0)~sex,data=pbc)
publish(sd)
publish(sd,digits=c(3,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.