summary.shr: Summary of a fitted survival model using a penalized...

Description Usage Arguments Author(s) See Also Examples

View source: R/summary.shr.R

Description

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

Usage

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

Arguments

object

a shr object, i.e., the result of a call to the shr function.

conf.int

The confidence 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.

Author(s)

Celia Touraine <Celia.Touraine@isped.u-bordeaux2.fr>

See Also

shr, print.shr, plot.shr

Examples

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

# Weibull survival model
data(testdata)
fit.su <- shr(Hist(time=list(l,r),id)~cov,data=testdata)
summary(fit.su)

## End(Not run)

SmoothHazard documentation built on May 2, 2019, 4:43 p.m.