Learn R Programming

predictionet (version 1.18.0)

mcc: Function to compute the Matthews Correlation Coefficient (MCC) in a classification framework

Description

This function computes the Matthews Correlation Coefficient (MCC) in a classification framework.

Usage

mcc(ct, nbcat = nrow(ct))

Arguments

ct
contingency table
nbcat
number of categories

Value

MCC estimate