View source: R/nosoi_utilityFunctions.R
drawBernouilli | R Documentation |
For each encounter, simulate whether a new individual is infected.
drawBernouilli(p)
p |
vector of size K, giving the probability that each encounter leads to an infection. |
Boolean vector giving the newly infected individuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.