report_ctreeMI: A Methods Paragraph For a ctreeMI Analysis

View source: R/node_table.R

report_ctreeMIR Documentation

A Methods Paragraph For a ctreeMI Analysis

Description

Generates a paragraph describing the analysis in the form usually required by a methods section: the number of imputations, the size of the stacked dataset, the model, the Stack / M correction and the threshold applied, how many candidate splits survived it, and the shape of the resulting tree.

Usage

report_ctreeMI(object, digits = 3)

Arguments

object

A ctreeMI object from ctree_stacked().

digits

Number of digits used in the node summaries.

Value

An object of class "ctreeMI_report": a list whose text element is the paragraph, alongside the quantities it reports.

See Also

ctree_stacked(), node_table()

Examples

set.seed(1)
imps <- lapply(1:5, function(i) {
  x <- stats::rnorm(200)
  data.frame(x = x, y = stats::rnorm(200) + 1.5 * (x > 0))
})
fit <- ctree_stacked(y ~ x, data = imps, verbose = FALSE)
report_ctreeMI(fit)


ctreeMI documentation built on Oct. 12, 2026, 5:08 p.m.