enumerate_popn: take a vector with the number of virions of each strain, and...

Description Usage Arguments Value

Description

take a vector with the number of virions of each strain, and return a vector of length equal to the number of virions, where each entry is the strain number of that virion (the reverse of sum_strains)

Usage

1
enumerate_popn(virus_popn)

Arguments

virus_popn

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

Value

numeric vector of length sum(virus_popn), where each entry is the strain number of a virion


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