Dear Tom, originally I am economist specialised in forecasting, but in the current environment a valid estimate of the basis reproductive number R0 of the spread of Covid 19 is quite helpful.

Is there any example to compute R0 like in this publication https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(20)30260-9/fulltext

They use a susceptible-exposed-infectious-recovered model and solve it via Gibbs sampling. Any first help would be great.

Thanks in advance

Paul