print.orthoDr {orthoDr} | R Documentation |
Print a orthoDr
object
Description
Provides a custom print wrapper for displaying orthoDr
fitted models.
Usage
## S3 method for class 'orthoDr'
print(x, ...)
Arguments
x |
A fitted |
... |
Additional parameters, not used. |
Value
Sliently returns the orthoDr
object supplied into the function to
allow for use with pipes.
Examples
# generate some survival data
N <- 100
P <- 4
dataX <- matrix(rnorm(N * P), N, P)
Y <- exp(-1 + dataX[, 1] + rnorm(N))
Censor <- rbinom(N, 1, 0.8)
# fit the model
orthoDr_surv(dataX, Y, Censor, ndr = 1, method = "dm")
[Package orthoDr version 0.6.8 Index]