print.shrinkDSM: Nicer printing of shrinkDSM objects

Description Usage Arguments Value Author(s) Examples

View source: R/utilities_shrinkDSM.R

Description

Nicer printing of shrinkDSM objects

Usage

1
2
## S3 method for class 'shrinkDSM'
print(x, ...)

Arguments

x

a shrinkDSM object.

...

Currently ignored.

Value

Called for its side effects and returns invisibly.

Author(s)

Peter Knaus peter.knaus@wu.ac.at

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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

shrinkDSM documentation built on Sept. 6, 2021, 9:07 a.m.