Description Usage Arguments Value
takes a vector of length equal to the number of virions, where each entry is the strain number of that virion, and returns a vector with the number of virions of each strain (the reverse of enumerate_popn)
1 | sum_strains(strains)
|
strains |
a vector of length equal to the number of virions, where each entry is the strain number of that virion |
numeric vector of length 4, with the number of virions in each of the 4 strains
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.