| summary.ctreeMI | R Documentation |
Prints and returns a summary of the stacked-imputation fit and the resulting tree structure (number of nodes, maximum depth).
## S3 method for class 'ctreeMI'
summary(object, ...)
object |
An object of class |
... |
Currently unused. |
A list (returned invisibly) with components:
ctreeMI_infoStacking metadata from
ctree_stacked.
n_terminal_nodesNumber of terminal nodes.
depthMaximum depth of the fitted tree.
ctree_stacked, print.ctreeMI
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)
summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.