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