Learn R Programming

SmoothHazard (version 1.0.9)

print.shrWeib: Print method for shrWeib objects

Description

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

Usage

## S3 method for class 'shrWeib':
print(x, conf.int = 0.95, digits = 4,
 pvalDigits = 4, eps = 1e-04, ...)

Arguments

x
a shrWeib object, i.e., the result of a call to the shr function with hazard="Weib".
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

summary.shrWeib, plot.shrWeib

Examples

Run this code
#  Weibull survival model 
data(test)
fit.su <- shr(Hist(time=list(l,r),id)~cov,data=test) 
print(fit.su)

Run the code above in your browser using DataLab