create_inf_csv2 | R Documentation |
Create a transmission matrix file to be used with the VirusTreeSimulator. VirusTreeSimulator requires that seeds are included in the file.
create_inf_csv2(tm, time_tr, prefix = NULL)
tm |
Transmission matrix as returned using the function get_transmat |
time_tr |
Time of transmission for seeds. The other time of transmission should be provided in the tm dataframe. |
prefix |
Text for prefix to use when saving filename. |
If a prefix is not provided, csv file will be saved as inf.csv
Write data to csv file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.