Learn R Programming

SDModels (version 1.0.4)

print.partDependence: Print partDependence

Description

Print contents of the partDependence.

Usage

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

Value

No return value, called for side effects

Arguments

x

Fitted object of class partDependence.

...

Further arguments passed to or from other methods.

Author

Markus Ulmer

See Also

partDependence, plot.partDependence

Examples

Run this code
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)

Run the code above in your browser using DataLab