summary.classaccur: Summarizing Evaluation of Classification Accuracy

Description Usage Arguments Value Examples

Description

summary methods for class 'classaccur'

Usage

1
2
## S3 method for class 'classaccur'
summary(object, ...)

Arguments

object

object of class 'classaccur'

...

additional arguments, so far ignored.

Value

summary.classaccur returns an object of class "summary.classaccur".

An object of class "summary.classaccur" returns a list of the following components:

accmat

a data.frame summarizing the user's- and producer's accuracy

rsquared_val

the coefficient of determination of the prediction model, calulated based on refdata and predictions

predictions

vector containing the predictions given to classAccuracy

overall.accuracy

the overall accuracy of the classification scheme

conf.oaa

vector containing [1] the lower confidence limit of the OAA, [2] the upper confidence limit of the OAA, and [3] the confidence level

cohenskappa

Cohen's Kappa Coefficient

Quantity.Disagreement

the quantity disagreement

Allocation.Disagreement

the allocation disagreement

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## -- Summarize classification accuracy:

acc.equal<- classAccuracy(refdata.gr, predictions.gr, equal.int = 100)
summ.<- summary(acc.equal)

# print summary-object:
summ.

# extract accuracy-data.frame:
summ.$accmat

AndreasChristianHill/classoptimr documentation built on May 29, 2019, 12:23 p.m.