Learn R Programming

SmoothHazard (version 1.0.9)

summary.idmPl: Summary of a fitted illness-death model using a penalized likelihood approach

Description

Print a short summary of a fitted illness-death model using the penalized likelihood approach.

Usage

## S3 method for class 'idmPl':
summary(object, conf.int = 0.95, digits = 4,
 pvalDigits = 4, eps = 1e-04, ...)

Arguments

object
a idmPl object, i.e., the result of a call to the idm function with hazard="Splines".
conf.int
confiance level.
digits
number of digits to print.
pvalDigits
number of digits to print for p-values.
eps
convergence criterion used for p-values.
...
other unusued arguments.

See Also

idm, print.idmPl, plot.idm plot.idmPl

Examples

Run this code
data(Paq1000)
d <- Paq1000
names(d) <- c("dementia","mort","entry","L","R","time","certif","death")

fit.weib <- idm(formula02=Hist(time,event=death,entry=entry)~certif,
formula01=Hist(time=list(L,R),event=dementia)~certif,data=d
,irec=0,igraph=1,hazard="Splines",eps=c(1,1,1)) 
summary(fit.weib)

Run the code above in your browser using DataLab