similarity_values: Extracting Similarity Values

Description Usage Arguments Value See Also Examples

View source: R/stablelearner.R

Description

Extract similarity values from object returned by stability for further illustration or analysis.

Usage

1

Arguments

x

an object of class "stablelearner" or "stablelearnerList" from which the similarity values are extracted.

reverse

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

Value

A numeric array of dimension 3 containing similarity values. The dimensions represent repetitions, results (fitted model objects) and similarity measures.

See Also

stability, summary.stablelearnerList

Examples

1
2
3
4
library("partykit")
res <- ctree(Species ~ ., data = iris)
stab <- stability(res)
similarity_values(stab)

stablelearner documentation built on Jan. 13, 2021, 5:41 p.m.