summary.sperrorestimportance: Summarize variable importance statistics obtained by...

View source: R/summary_functions.R

summary.sperrorestimportanceR Documentation

Summarize variable importance statistics obtained by sperrorest

Description

summary.sperrorestimportance calculated mean, standard deviation, median etc. of the calculated error measures at the specified level (overall, repetition, or fold).

Usage

## S3 method for class 'sperrorestimportance'
summary(object, level = 0, na.rm = TRUE, which = NULL, ...)

Arguments

object

sperrorestimportance object calculated by sperrorest called with argument importance = TRUE

level

Level at which errors are summarized: 0: overall (i.e. across all repetitions); 1: repetition; 2: fold

na.rm

Remove NA values? See mean etc.

which

optional character vector specifying selected variables for which the importances should be summarized

...

additional arguments (currently ignored)

Value

a list or data.frame, depending on the level of aggregation


pat-s/sperrorest documentation built on June 6, 2023, 7:51 a.m.