print.bcfraildv: Print bcfraildv

View source: R/print.bcfraildv.R

print.bcfraildvR Documentation

Print bcfraildv

Description

Generics to print the S3 class bcfraildv.

Usage

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

Arguments

x

A class bcfraildv object.

...

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

bcfraildv

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)


bcfrailphdv documentation built on Dec. 28, 2022, 2:10 a.m.