similarity_values {stablelearner}R Documentation

Extracting Similarity Values

Description

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

Usage

  similarity_values(x, reverse = TRUE)

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


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


[Package stablelearner version 0.1-5 Index]