View source: R/kmciFunctions.R
summary.kmciLR | R Documentation |
kmci
, kmciLR
, kmciLRtidy
, or kmciLRgroup
object.
Creates a data frame with time (for kmci) or time interval (for kmciLR, kmciLRtidy, and kmciLRgroup), survival, lower and upper pointwise confidence intervals. For kmciLRtidy and kmciLRgroup objects, the group (treatment) variable is also included.
## S3 method for class 'kmciLR' summary(object, ...) ## S3 method for class 'kmci' summary(object, ...) ## S3 method for class 'kmciLRtidy' summary(object, ...) ## S3 method for class 'kmciLRgroup' summary(object, ...)
object |
kmci, kmciLR, kmciLRtidy, or kmciLRgroup object |
... |
extra arguments |
creates a data frame. See description.
data(leuk) ## kmciTG creates kmci object fitTG<-kmciTG(leuk$time,leuk$status) summary(fitTG) ## bpcp creates kmciLR object fitBP<-bpcp(leuk$time,leuk$status) summary(fitBP) data(leuk2) ## bpcpfit creates kmciLRtidy or kmciLRgroup object fitBPsurv <- bpcpfit(Surv(time, status)~treatment, data=leuk2) summary(fitBPsurv) summary(Surv(time, status)~treatment, data=leuk2, plotstyle = "standard")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.