print.idm: Print method for 'idm' objects

View source: R/print.idm.R

print.idmR Documentation

Print method for idm objects

Description

Print a summary of a fitted illness-death model

Usage

## S3 method for class 'idm'
print(x, conf.int = 0.95, digits = 4, pvalDigits = 4,
  eps = 0.0001, ...)

Arguments

x

Class idm object, i.e. the result of a call to the idm function with intensities="Weib".

conf.int

The level of confidence for the hazard ratios. The default is 0.95.

digits

Number of digits to print.

pvalDigits

Number of digits to print for p-values.

eps

Passed to format.pval.

...

Not used.

Author(s)

Celia Touraine <Celia.Touraine@isped.u-bordeaux2.fr>, Thomas A. Gerds <tag@biostat.ku.dk>

See Also

summary.idm, plot.idm

Examples


## Not run: 
data(Paq1000)
library(prodlim)
fit.splines <-  idm(formula02=Hist(time=t,event=death,entry=t0)~certif,
		formula01=Hist(time=list(l,r),event=dementia)~certif,
                formula12=~1,
                method="Splines",
		data=Paq1000)
print(fit.splines)


## End(Not run)

tagteam/SmoothHazard documentation built on April 5, 2024, 6:32 a.m.