https://github.com/cran/cutpointr
Raw File
Tip revision: 4408233eb8624dea85ecf18e86d50c296165c3f2 authored by Christian Thiele on 13 April 2022, 17:12:29 UTC
version 1.1.2
Tip revision: 4408233
auc.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics.R
\name{auc}
\alias{auc}
\alias{auc.roc_cutpointr}
\alias{auc.cutpointr}
\title{Calculate AUC from a roc_cutpointr or cutpointr object}
\source{
Forked from the AUC package
}
\usage{
auc(x)

\method{auc}{roc_cutpointr}(x)

\method{auc}{cutpointr}(x)
}
\arguments{
\item{x}{Data frame resulting from the roc() or cutpointr() function.}
}
\value{
Numeric vector of AUC values
}
\description{
Calculate the area under the ROC curve using the trapezoidal rule.
}
back to top