Accuracy: 'Accuracy'

View source: R/regressiondiagnostics.R

AccuracyR Documentation

Accuracy

Description

Accuracy

Usage

Accuracy(obj, subset = NULL, weights = obj$weights)

Arguments

obj

A model with an outcome variable.

subset

An optional vector specifying a subset of observations.

weights

An optional vector of sampling weights.

Details

The proportion of observed values that take the same values as the predicted values. Where the outcome variable in the model is not a factor and not a count, predicted values are assigned to buckets as per ConfusionMatrix.


Displayr/flipRegression documentation built on March 2, 2024, 3:51 a.m.