print.SDTree: Print a SDTree

View source: R/print.R

print.SDTreeR Documentation

Print a SDTree

Description

Print contents of the SDTree.

Usage

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

Arguments

x

Fitted object of class SDTree.

...

Further arguments passed to or from other methods.

Value

No return value, called for side effects

Author(s)

Markus Ulmer

See Also

SDTree

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)

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