Estimation of R0 and real-time reproduction number from