Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Kappa

Kappa


Description

Kappa calculates Kappa and (optionally) the associated standard deviation from a confusion matrix.

Usage

Kappa(CMX, st.dev = TRUE)

Arguments

CMX

a confusion matrix - output from cmx

st.dev

a logical indicating whether the associated standard deviation should be calculated

Details

The Kappa statistic summarizes all the available information in the confusion matrix. Kappa measures the proportion of correctly classified units after accounting for the probability of chance agreement.

Value

if st.dev = FALSE, returns: Kappa.

if st.dev = TRUE, returns a dataframe where:

[1,1] Kappa
[1,2] Kappa.sd standard deviation of Kappa

Author(s)

Elizabeth Freeman eafreeman@fs.fed.us

See Also

Examples

data(SIM3DATA)

Kappa(cmx(SIM3DATA))

Kappa(cmx(SIM3DATA),st.dev=FALSE)

PresenceAbsence

Presence-Absence Model Evaluation

v1.1.10
Unlimited
Authors
Elizabeth Freeman
Initial release
2022-02-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.