Write given infection history to disk

save_infection_history_to_disk(
  infection_history,
  file,
  samp_no,
  append = TRUE,
  col_names = FALSE
)

Arguments

infection_history

the infection history matrix

file

the file location to save to

samp_no

which sample number is this matrix?

append

if TRUE, just adds to the bottom of the file

col_names

if TRUE, saves column names first (only set to true if append = FALSE)

Value

nothing

See also