| abo | R Documentation | 
Returns a vector with ABO blood groups according to user defined frequencies
abo(n = 100, probs = c(0.4658, 0.0343, 0.077, 0.4229))
| n | An integer to define the length of the returned vector | 
| probs | A vector with the probabilities for blood group A, AB, B and O (in this order). The sum of the probabilities must be equal to one. | 
A vector length n with ABO blood groups
abo(n = 100, probs = c(0.4658, 0.0343, 0.077, 0.4229))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.