nhs-r-community / NHSRplotthedots

An SPC package to support NHSE/I 'Making Data Count' programme
https://nhs-r-community.github.io/NHSRplotthedots/
Other
47 stars 21 forks source link

Allow 6 point rule in ptd_calculate_point_type() #202

Open jsgm21 opened 8 months ago

jsgm21 commented 8 months ago

Currently, ptd_calculate_point_type() uses a 7 point rule (both for trend and consistently above/below mean). A points_for_significance parameter could be useful in ptd_spc() to allow users to choose between 6 or 7 points, as allowed in MDC's Excel tool.

Thanks for looking into this.