R syntax to fit the digraph model
datasetposted on 25.11.2019, 04:06 by Tim K. Tsang, Vicky J. Fang, Dennis K. M. Ip, Ranawaka A. P. M. Perera, Hau Chi So, Gabriel M. Leung, J. S. Malik Peiris, Benjamin J. Cowling, Simon Cauchemez
R syntax to fit the digraph model on the household data. This will create a data file [mcmc_result.csv] for further analysis. Noted that Supplementary Table 5 was also generated from this file.