Skip to contents

This function provides the overall accuracy rate for the two vectors.

Usage

accuracy(observed, predicted)

Arguments

observed

vector of observed values.

predicted

vector of predicted values.

Value

the accuracy as a numeric value.