errDist | R Documentation |
Returns a random vector of 0's (correct) and 1's (incorrect) with defined proportions (default = 10% errors).
errDist(n = 10000, proportion = 10)
n |
Number |
proportion |
Approximate proportion of errors in percentage |
double
# Example 1
x <- errDist(1000, 10)
table(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.