tabulate.ext.err.func | R Documentation |
An assistant function used to calculate the error rate of classification.
tabulate.ext.err.func(pred.obj, obs.grp)
pred.obj |
predicted group classes |
obs.grp |
actual group classes |
error rate of predicted classification
pred.obj = c("V", "V", "V", "V", "E", "V", "E", "E", "E", "E") obs.grp = c("V", "V", "V", "V", "V", "E", "E", "E", "E", "E") tabulate.ext.err.func(pred.obj, obs.grp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.