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