print.shrinkDSM {shrinkDSM} | R Documentation |
Nicer printing of shrinkDSM objects
Description
Nicer printing of shrinkDSM objects
Usage
## S3 method for class 'shrinkDSM'
print(x, ...)
Arguments
x |
a |
... |
Currently ignored. |
Value
Called for its side effects and returns invisibly.
Author(s)
Peter Knaus peter.knaus@wu.ac.at
Examples
set.seed(123)
data("gastric")
# Create intervals for piecewise exponential model
intervals <- divisionpoints(gastric$time, gastric$status, 2)
# Estimate model
mod <- shrinkDSM(time ~ radiation, gastric,
delta = gastric$status, S = intervals)
# Print
print(mod)
# Alternatively
mod
[Package shrinkDSM version 0.2.0 Index]