print.SDTree {SDModels} | R Documentation |
Print a SDTree
Description
Print contents of the SDTree.
Usage
## S3 method for class 'SDTree'
print(x, ...)
Arguments
x |
Fitted object of class |
... |
Further arguments passed to or from other methods. |
Value
No return value, called for side effects
Author(s)
Markus Ulmer
See Also
Examples
set.seed(1)
n <- 10
X <- matrix(rnorm(n * 5), nrow = n)
y <- sign(X[, 1]) * 3 + rnorm(n)
model <- SDTree(x = X, y = y, Q_type = 'no_deconfounding', cp = 0.5)
print(model)
[Package SDModels version 1.0.13 Index]