Pātuhitia tēnei: Statistical methods for hospital monitoring with R