Description Usage Arguments Details Value Author(s)
Helper function for computing error rates
1 | compute_error(object, data = NULL, response.name, response, loss)
|
object |
a object containing responses |
data |
a data object |
response.name |
the name of the response, if |
response |
the response |
loss |
the loss function |
This function can be used to compute error rates.
It is consist with the use cases of the Err
genetic function.
(see msgl package for an example of how to use this function)
a vector with the computed error rates
Martin Vincent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.