Pātuhitia tēnei: Biostatistical design and analysis using R