Text this: Statistical methods for hospital monitoring with R