plot.SDTree | R Documentation |
Plot the SDTree.
## S3 method for class 'SDTree'
plot(x, ...)
x |
Fitted object of class |
... |
Further arguments for DiagrammeR::render_graph() |
graph object from DiagrammeR::render_graph()
Markus Ulmer
SDTree
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)
plot(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.