View source: R/partDependence.R
print.partDependence | R Documentation |
Print contents of the partDependence.
## S3 method for class 'partDependence'
print(x, ...)
x |
Fitted object of class |
... |
Further arguments passed to or from other methods. |
No return value, called for side effects
Markus Ulmer
partDependence
, plot.partDependence
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.