sum_strains: takes a vector of length equal to the number of virions,...

Description Usage Arguments Value

Description

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)

Usage

1
sum_strains(strains)

Arguments

strains

a vector of length equal to the number of virions, where each entry is the strain number of that virion

Value

numeric vector of length 4, with the number of virions in each of the 4 strains


ada-w-yan/reassortment documentation built on April 10, 2021, 12:03 a.m.