Simulate a dyad
1 2 3 4 5  | simulate_dyad(
  rates = c(10, 15),
  mimicy = c(0.1, 0.5),
  last.bite = stats::runif(1, 1, 2)
)
 | 
rates | 
 Numeric vector. Vector of rates  | 
mimicy | 
 Numeric vector. proportion of mimicry (likelihood).  | 
last.bite | 
 Numeric scalar. Time of last bite.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.