proximity: Extract Proximity Matrices

View source: R/accessors.R

proximityR Documentation

Extract Proximity Matrices

Description

Extracts proximity matrices from an eValidation object. The ensemble proximity matrix is derived from the original ensemble model, while the E2Tree proximity matrix is estimated from the fitted E2Tree.

Usage

proximity(x, ...)

## S3 method for class 'eValidation'
proximity(x, type = c("both", "ensemble", "e2tree"), ...)

Arguments

x

An eValidation object.

...

Additional arguments (ignored).

type

Character string specifying which proximity matrix to extract. One of "ensemble", "e2tree", or "both" (default).

Value

A matrix (if type is "ensemble" or "e2tree") or a list of two matrices (if type is "both").


e2tree documentation built on May 15, 2026, 5:06 p.m.