nhs-r-community / NHSRplotthedots

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

update target argument to act like rebase #79

Closed tomjemmett closed 3 years ago

tomjemmett commented 3 years ago

the target argument should act like rebase does with ptd_rebase() (see #78). That is, target should accept a scalar numeric, or it should accept a named list of scalar numerics, where each name matches one of the names from the facet field. If a target isn't provided for a given facet then there should be no target line drawn