plot.SDTree {SDModels}R Documentation

Plot SDTree

Description

Plot the SDTree.

Usage

## S3 method for class 'SDTree'
plot(x, ...)

Arguments

x

Fitted object of class SDTree.

...

Further arguments for DiagrammeR::render_graph()

Value

graph object from DiagrammeR::render_graph()

Author(s)

Markus Ulmer

See Also

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)


[Package SDModels version 1.0.13 Index]