Description Usage Arguments Value Examples
Each run we will ramdomly choose 'pairs' of the possible transmission pairs from data smoothing every 2
| 1 | sample_trans(data, runs, pairs, test = F)
 | 
| data | data frame on which to sample. contains freq1 and freq2 | 
| runs | The number of times to sample | 
| pairs | The number of pairs to include in each run. | 
| test | A boolean switch. If activatve returns a list of 2 tibbles. The first is the last sample_data tibble the second is the normal output | 
a data frame with columns freq1, trial, and probability of transmission.
| 1 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.