print.bcfrailpar {bcfrailphdv}R Documentation

Print bcfrailpar

Description

Generics to print the S3 class bcfrailpar.

Usage

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

Arguments

x

A class bcfrailpar object.

...

ignored

Details

Calls print.bcfrailpar().

Value

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

Note

The summary function is currently identical to the print function.

See Also

bcfrailpar

Examples

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


[Package bcfrailphdv version 0.1.1 Index]