Description Usage Arguments Value Examples
Based on summary data for candidates, finds the optimal order to select those candidates, as well as some statistics about them. Some of those statistics are computed by a Monte Carlo simulation.
1 | candidatesFung(d, par, computeExpComp = F, seed = 10)
|
d |
Summary data with candidates |
par |
Parameters object with model parameters |
computeExpComp |
Whether to compute expected competition for all candidates for all numbers of potential competitors |
seed |
Seed for random generator |
List with two data.tables. dordered
lists all the candidates in
the optimal order and with some statistics.
dcanddraws
includes all the random draws and their outcomes.
1 2 3 4 5 6 | par = Parameters$new()
d = loadData(par = par)
d$Target = 'Others'
d$Target[1:5] = 'Spike'
d$Target[6:10] = 'Recombinant'
candidate = candidatesFung(d, par)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.