print.partDependence: Print partDependence

View source: R/partDependence.R

print.partDependenceR Documentation

Print partDependence

Description

Print contents of the partDependence.

Usage

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

Arguments

x

Fitted object of class partDependence.

...

Further arguments passed to or from other methods.

Value

No return value, called for side effects

Author(s)

Markus Ulmer

See Also

partDependence, plot.partDependence

Examples

set.seed(1)
x <- rnorm(10)
y <- sign(x) * 3 + rnorm(10)
model <- SDTree(x = x, y = y, Q_type = 'no_deconfounding', cp = 0.5)
pd <- partDependence(model, 1, X = x)
print(pd)

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