print.bcfrailph {bcfrailph}R Documentation

Print bcfrailph

Description

Generics to print the S3 class bcfrailph.

Usage

## S3 method for class 'bcfrailph'
print(x, ...)

Arguments

x

A class bcfrailph object.

...

ignored

Details

Calls print.bcfrailph().

Value

An object of print.bcfrailph, with some more human-readable results from bcfrailph object.

Note

The summary function is currently identical to the print function.

See Also

bcfrailph

Examples

set.seed(4)
simdata<-simbcfrailph(psize=300, cenr= c(0.3),beta=c(2),frailty=c("gamma"),
frailpar=c(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

fitbcfrailph=bcfrailph(Surv(time,censor)~ X1+frailty(PID) ,data=dataa,frail_distrn=c("gamma"))
fitbcfrailph


[Package bcfrailph version 0.1.1 Index]