summary.bcfrailpar: Print bcfrailpar

View source: R/summary.bcfrailpar.R

summary.bcfrailparR Documentation

Print bcfrailpar

Description

Generics to print the S3 class bcfrailpar.

Usage

## S3 method for class 'bcfrailpar'
summary(object, ...)

Arguments

object

A class bcfrailpar object.

...

ignored

Details

Calls print.bcfrailpar().

Value

An object of summary.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(40)
simdata<-simbcfraildv(psize=500, cenr= c(0.3),beta=c(-1),frailty=c("gamma"),
frailpar=c(0.4,0.4,0.5),bhaz=c("gompertz"),
bhazpar=list(shape =c(0.09), scale = c(0.2)),
covartype= c("B"),covarpar=list(fargs=c(1),sargs=c(0.5)))
dataa<-simdata$data

fitbcfrail=bcfrailpar(Surv(time,censor)~ X1+frailty(PID) ,
data=dataa,haz="gompertz")
fitbcfrail
summary(fitbcfrail)


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