print.orthoDr | R Documentation |
orthoDr
objectProvides a custom print wrapper for displaying orthoDr
fitted models.
## S3 method for class 'orthoDr'
print(x, ...)
x |
A fitted |
... |
Additional parameters, not used. |
Sliently returns the orthoDr
object supplied into the function to
allow for use with pipes.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.