Description Usage Arguments Value Author(s)
Introduces some misclassification in binary data. The number of values misclassified is determined by the misclassification rates.
1 | misclassify(binary.vector, error.1.0 = 0.05, error.0.1 = 0.05)
|
binary.vector |
a vector of binary values. |
error.1.0 |
1 to 0 misclassification rate. |
error.0.1 |
0 to 1 misclassification rate. |
a binary vector
Gaye A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.