mattcc.curve: Create Matthews Correlation Coefficient Data for Plotting

Description Usage Arguments Value

Description

Using the formula for Matthews Correlation Coefficient and a given number of points ranging from 0 to 100, create data for MCC over a set of thresholds between 0 and 1. These data can then be used to plot MCC curves

Usage

1
mattcc.curve(true.values, pred.probs, num.points = 101)

Arguments

true.values

The true classifications for the data

pred.probs

The predicted probabilities for the data

num.points

The number of different thresholds to set between 0 and 1 (default = 101)

Value

A numeric vector of MCC values over the supplied number of points


PriceLab/FPML documentation built on May 28, 2019, 2:25 p.m.