summary.performance: summary.performance

View source: R/dCVnet_performance.R

summary.performanceR Documentation

summary.performance

Description

Calculates classification performance table and two-class classification metrics for a performance object.

Usage

## S3 method for class 'performance'
summary(
  object,
  label = NA,
  short = FALSE,
  pvprevalence = "observed",
  somersD = FALSE,
  ...
)

Arguments

object

a performance object.

label

a label can be assigned here. (Warning - setting a length 1 vector will concatenate multiple reps.)

short

(bool) return a core set of performance measures.

pvprevalence

argument for adjustment of PPV/NPV calculation for binomial or multinomial families. Either "observed" to use the observed prevalence, or a number [0,1] (for binomial), or a vector of length n_categories (for multinomial) containing numerics in [0,1].

somersD

(bool) calculate the computationally expensive Somers' D for certain families (gaussian, poisson)

...

additional arguments (ignored)


AndrewLawrence/dCVnet documentation built on Sept. 24, 2024, 5:24 a.m.