plot.SDTree: Plot SDTree

View source: R/plot.R

plot.SDTreeR 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)


SDModels documentation built on April 11, 2025, 5:50 p.m.