View source: R/kmciFunctions.R
print.kmciLRtidy | R Documentation |
Print number of observations, number of events, and the median survival with confidence limits for the median of a kmciLRtidy, kmciLRgroup, or kmciLR object with pointwise confidence intervals. The confidence limits will match those specified in the bpcp or bpcpfit function.
## S3 method for class 'kmciLR' print(x, ...) ## S3 method for class 'kmciLRtidy' print(x, ...) ## S3 method for class 'kmciLRgroup' print(x, ...)
x |
a kmciLRtidy, kmciLRgroup, or kmciLR obejct |
... |
extra arguments |
library(bpcp) data(leuk2) practice <- bpcpfit(Surv(time, status)~treatment, data=leuk2) practice bpcpfit(Surv(time, status)~1, data=leuk2) bpcpfit(Surv(time, status)~1, data=leuk2, plotstyle = "standard") bpcpfit(leuk2$time, leuk2$status, leuk2$treatment, plotstyle = "standard")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.