View source: R/regressiondiagnostics.R
Accuracy | R Documentation |
Accuracy
Accuracy
Accuracy(obj, subset = NULL, weights = obj$weights)
obj |
A model with an outcome variable. |
subset |
An optional vector specifying a subset of observations. |
weights |
An optional vector of sampling weights. |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.