Estimation of basic reproduction number (R0) in trials