View source: R/summary.bcfrailpar.R
| summary.bcfrailpar | R Documentation |
Generics to print the S3 class bcfrailpar.
## S3 method for class 'bcfrailpar' summary(object, ...)
object |
A class |
... |
ignored |
Calls print.bcfrailpar().
An object of summary.bcfrailpar, with some more human-readable results from bcfrailpar object.
The summary function is currently identical to the print function.
bcfrailpar
set.seed(40)
simdata<-simbcfraildv(psize=500, cenr= c(0.3),beta=c(-1),frailty=c("gamma"),
frailpar=c(0.4,0.4,0.5),bhaz=c("gompertz"),
bhazpar=list(shape =c(0.09), scale = c(0.2)),
covartype= c("B"),covarpar=list(fargs=c(1),sargs=c(0.5)))
dataa<-simdata$data
fitbcfrail=bcfrailpar(Surv(time,censor)~ X1+frailty(PID) ,
data=dataa,haz="gompertz")
fitbcfrail
summary(fitbcfrail)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.