Email Record: Statistical methods for hospital monitoring with R