summary: Summarize Results from Stability Assessment

summary.stablelearnerListR Documentation

Summarize Results from Stability Assessment

Description

Summarizes and prints the results from stability assessments performed by stability.

Usage

## S3 method for class 'stablelearnerList'
summary(object, ..., reverse = TRUE, 
  probs = c(0.05, 0.25, 0.5, 0.75, 0.95), digits = 3, names = NULL)

Arguments

object

a object of class "stablelearner" or "stablelearnerList" to be summarized.

...

Arguments passed from or to other functions (currently ignored).

reverse

logical. If reverse = TRUE (default), the similarity values summarized in the summary output are transformed (reversed) such that higher values indicate a higher stability.

digits

integer. The number of digits used to summarize the similarity distribution in the summary output.

probs

a vector of probabilities used tosummarize the similarity distribution in the summary output.

names

a vector of characters to specify a name for each result from statistical learning in the summary output.

See Also

stability

Examples




library("partykit")

rval <- ctree(Species ~ ., data = iris)
stab <- stability(rval)

summary(stab)
summary(stab, reverse = FALSE)
summary(stab, probs = c(0.25, 0.5, 0.75))
summary(stab, names = "conditional inference tree")




stablelearner documentation built on April 14, 2023, 12:40 a.m.