independent.RdIndependent model of strain acquisition
independent(params, data, pci_list, max_moi = 25)
| params | Vector of parameters including the frequency of each species and the mean moi mu. |
|---|---|
| data | Real data to compare model predictions to. |
| pci_list | Permutation, composition and infections list. |
| max_moi | Maxuimum infction composition explored. Default = 25. |
Returns a named multinomial probability distribution.
For a given frequency of each strain and mean moi, returns the related multionomial distribution describing each infection type.