print.bcfraildv {bcfrailphdv} | R Documentation |
Print bcfraildv
Description
Generics to print the S3 class bcfraildv.
Usage
## S3 method for class 'bcfraildv'
print(x, ...)
Arguments
x |
A class |
... |
ignored |
Details
Calls print.bcfraildv()
.
Value
An object of print.bcfraildv
, with some more human-readable results from bcfraildv
object.
Note
The summary function is currently identical to the print function.
See Also
Examples
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)
[Package bcfrailphdv version 0.1.1 Index]