create_inf_csv: Create transmission matrix csv

View source: R/utils.R

create_inf_csvR Documentation

Create transmission matrix csv

Description

Create a transmission matrix file to be used with the VirusTreeSimulator. VirusTreeSimulator requires that seeds are included in the file.

Usage

create_inf_csv(tm, time_tr, prefix = NULL)

Arguments

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.

Details

If a prefix is not provided, csv file will be saved as inf.csv

Value

Write data to csv file.


thednainus/HIVepisimAnalysis documentation built on Sept. 21, 2023, 7:32 a.m.