Description Usage Arguments Value Examples
printClassificationTable
1 | printClassificationTable(observed, predicted, method)
|
observed |
Vector of actual values |
predicted |
Vector of predicted values |
method |
A string to pass into the output, identifies the model used. |
Prints a classification Matrix and calculates the misclassification rate.
1 | printClassificationTable(c(1,2,1,2,1), c(1,2,2,1,1), method="input")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.