Description Usage Arguments Details Author(s) Examples
This function creates a new case, with or without a known infector. If it is
missing (NULL, default), the case is imported according to parameters in
config
.
1 2 3 4 |
infector |
An optional infector; if provided, it must be a list with the following slots: 'location', 'dna' |
date |
The date at which the new case is infected; if the case is imported and this is not provided, defaults to 0. |
... |
further arguments passed to |
config |
optionally, a config returned by |
x |
A 'case' object, as returned by |
It calls upon new_location
and new_dna
to
determine locations and DNA sequences.
Thibaut Jombart thibautjombart@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.