print.ctreeMI: Print Method for ctreeMI Objects

View source: R/methods.R

print.ctreeMIR Documentation

Print Method for ctreeMI Objects

Description

Prints a header summarizing the stacked-imputation settings, followed by the standard partykit tree output.

Usage

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

Arguments

x

An object of class "ctreeMI" as returned by ctree_stacked.

...

Further arguments passed to the partykit print method.

Value

x, invisibly.

See Also

ctree_stacked, summary.ctreeMI

Examples

set.seed(1)
imp_list <- lapply(1:5, function(i) {
  set.seed(i)
  data.frame(y = rnorm(80), x = rnorm(80))
})
fit <- ctree_stacked(y ~ x, data = imp_list, verbose = FALSE)
print(fit)

ctreeMI documentation built on July 26, 2026, 1:06 a.m.