View source: R/utilities_shrinkDSM.R
| print.shrinkDSM | R Documentation |
Nicer printing of shrinkDSM objects
## S3 method for class 'shrinkDSM' print(x, ...)
x |
a |
... |
Currently ignored. |
Called for its side effects and returns invisibly.
Peter Knaus peter.knaus@wu.ac.at
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.