Learn R Programming

SDModels (version 1.0.4)

print.SDForest: Print SDForest

Description

Print contents of the SDForest.

Usage

# S3 method for SDForest
print(x, ...)

Value

No return value, called for side effects

Arguments

x

Fitted object of class SDForest.

...

Further arguments passed to or from other methods.

Author

Markus Ulmer

See Also

SDForest

Examples

Run this code

set.seed(1)
n <- 50
X <- matrix(rnorm(n * 5), nrow = n)
y <- sign(X[, 1]) * 3 + rnorm(n)
model <- SDForest(x = X, y = y, Q_type = 'no_deconfounding', nTree = 5, cp = 0.5)
print(model)

Run the code above in your browser using DataLab