print.shr: Print method for 'shrSplines' objects

Description Usage Arguments Author(s) See Also Examples

Description

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

Usage

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

Arguments

x

a shr object, i.e., the result of a call to the shr function with hazard="Splines".

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

convergence criterion used for p-values.

...

other unusued arguments.

Author(s)

R: Celia Touraine <Celia.Touraine@isped.u-bordeaux2.fr> Fortran: Pierre Joly <Pierre.Joly@isped.u-bordeaux2.fr>

See Also

summary.shr, plot.shr

Examples

1
2
3
4
5
6
7
8
## Not run: 
# a penalized survival model 
library(prodlim)
data(testdata)
fit.su <- shr(Hist(time=list(l,r),id)~cov,data=testdata,method="Splines") 
print(fit.su) 

## End(Not run)

SmoothHazard documentation built on May 1, 2019, 8 p.m.