Skip to content

Commit

Permalink
feat(breaking): Removed family/acronym-specific GIGS conversion funct…
Browse files Browse the repository at this point in the history
…ions and replaced with `value2zscore()`, `zscore2value()`, `zscore2value()`, and `centile2value()`.

Also performed edits to input-checking functionality, so error/warning messages are formatted better and more consistently.
  • Loading branch information
simpar1471 committed Nov 9, 2024
1 parent f557eba commit 2e20ac3
Show file tree
Hide file tree
Showing 30 changed files with 1,382 additions and 8,491 deletions.
185 changes: 5 additions & 180 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export(categorise_stunting)
export(categorise_svn)
export(categorise_wasting)
export(categorise_wfa)
export(centile2value)
export(classify_growth)
export(classify_headsize)
export(classify_sfga)
Expand All @@ -27,188 +28,12 @@ export(gigs_option_set)
export(gigs_options_set)
export(gigs_waz)
export(gigs_wlz)
export(ig_fet_acfga_centile2value)
export(ig_fet_acfga_value2centile)
export(ig_fet_acfga_value2zscore)
export(ig_fet_acfga_zscore2value)
export(ig_fet_avfga_centile2value)
export(ig_fet_avfga_value2centile)
export(ig_fet_avfga_value2zscore)
export(ig_fet_avfga_zscore2value)
export(ig_fet_bpdfga_centile2value)
export(ig_fet_bpdfga_value2centile)
export(ig_fet_bpdfga_value2zscore)
export(ig_fet_bpdfga_zscore2value)
export(ig_fet_centile2value)
export(ig_fet_cmfga_centile2value)
export(ig_fet_cmfga_value2centile)
export(ig_fet_cmfga_value2zscore)
export(ig_fet_cmfga_zscore2value)
export(ig_fet_crlfga_centile2value)
export(ig_fet_crlfga_value2centile)
export(ig_fet_crlfga_value2zscore)
export(ig_fet_crlfga_zscore2value)
export(ig_fet_efwfga_centile2value)
export(ig_fet_efwfga_value2centile)
export(ig_fet_efwfga_value2zscore)
export(ig_fet_efwfga_zscore2value)
export(ig_fet_estimate_fetal_weight)
export(ig_fet_estimate_ga)
export(ig_fet_flfga_centile2value)
export(ig_fet_flfga_value2centile)
export(ig_fet_flfga_value2zscore)
export(ig_fet_flfga_zscore2value)
export(ig_fet_gafcrl_centile2value)
export(ig_fet_gafcrl_value2centile)
export(ig_fet_gafcrl_value2zscore)
export(ig_fet_gafcrl_zscore2value)
export(ig_fet_gaftcd_centile2value)
export(ig_fet_gaftcd_value2centile)
export(ig_fet_gaftcd_value2zscore)
export(ig_fet_gaftcd_zscore2value)
export(ig_fet_gwgfga_centile2value)
export(ig_fet_gwgfga_value2centile)
export(ig_fet_gwgfga_value2zscore)
export(ig_fet_gwgfga_zscore2value)
export(ig_fet_hcfga_centile2value)
export(ig_fet_hcfga_value2centile)
export(ig_fet_hcfga_value2zscore)
export(ig_fet_hcfga_zscore2value)
export(ig_fet_hefwfga_centile2value)
export(ig_fet_hefwfga_value2centile)
export(ig_fet_hefwfga_value2zscore)
export(ig_fet_hefwfga_zscore2value)
export(ig_fet_ofdfga_centile2value)
export(ig_fet_ofdfga_value2centile)
export(ig_fet_ofdfga_value2zscore)
export(ig_fet_ofdfga_zscore2value)
export(ig_fet_pifga_centile2value)
export(ig_fet_pifga_value2centile)
export(ig_fet_pifga_value2zscore)
export(ig_fet_pifga_zscore2value)
export(ig_fet_poffga_centile2value)
export(ig_fet_poffga_value2centile)
export(ig_fet_poffga_value2zscore)
export(ig_fet_poffga_zscore2value)
export(ig_fet_pvfga_centile2value)
export(ig_fet_pvfga_value2centile)
export(ig_fet_pvfga_value2zscore)
export(ig_fet_pvfga_zscore2value)
export(ig_fet_rifga_centile2value)
export(ig_fet_rifga_value2centile)
export(ig_fet_rifga_value2zscore)
export(ig_fet_rifga_zscore2value)
export(ig_fet_sdrfga_centile2value)
export(ig_fet_sdrfga_value2centile)
export(ig_fet_sdrfga_value2zscore)
export(ig_fet_sdrfga_zscore2value)
export(ig_fet_sffga_centile2value)
export(ig_fet_sffga_value2centile)
export(ig_fet_sffga_value2zscore)
export(ig_fet_sffga_zscore2value)
export(ig_fet_sfhfga_centile2value)
export(ig_fet_sfhfga_value2centile)
export(ig_fet_sfhfga_value2zscore)
export(ig_fet_sfhfga_zscore2value)
export(ig_fet_tcdfga_centile2value)
export(ig_fet_tcdfga_value2centile)
export(ig_fet_tcdfga_value2zscore)
export(ig_fet_tcdfga_zscore2value)
export(ig_fet_value2centile)
export(ig_fet_value2zscore)
export(ig_fet_zscore2value)
export(ig_nbs_bfpfga_centile2value)
export(ig_nbs_bfpfga_value2centile)
export(ig_nbs_bfpfga_value2zscore)
export(ig_nbs_bfpfga_zscore2value)
export(ig_nbs_centile2value)
export(ig_nbs_ffmfga_centile2value)
export(ig_nbs_ffmfga_value2centile)
export(ig_nbs_ffmfga_value2zscore)
export(ig_nbs_ffmfga_zscore2value)
export(ig_nbs_fmfga_centile2value)
export(ig_nbs_fmfga_value2centile)
export(ig_nbs_fmfga_value2zscore)
export(ig_nbs_fmfga_zscore2value)
export(ig_nbs_hcfga_centile2value)
export(ig_nbs_hcfga_value2centile)
export(ig_nbs_hcfga_value2zscore)
export(ig_nbs_hcfga_zscore2value)
export(ig_nbs_lfga_centile2value)
export(ig_nbs_lfga_value2centile)
export(ig_nbs_lfga_value2zscore)
export(ig_nbs_lfga_zscore2value)
export(ig_nbs_value2centile)
export(ig_nbs_value2zscore)
export(ig_nbs_wfga_centile2value)
export(ig_nbs_wfga_value2centile)
export(ig_nbs_wfga_value2zscore)
export(ig_nbs_wfga_zscore2value)
export(ig_nbs_wlrfga_centile2value)
export(ig_nbs_wlrfga_value2centile)
export(ig_nbs_wlrfga_value2zscore)
export(ig_nbs_wlrfga_zscore2value)
export(ig_nbs_zscore2value)
export(ig_png_centile2value)
export(ig_png_hcfa_centile2value)
export(ig_png_hcfa_value2centile)
export(ig_png_hcfa_value2zscore)
export(ig_png_hcfa_zscore2value)
export(ig_png_lfa_centile2value)
export(ig_png_lfa_value2centile)
export(ig_png_lfa_value2zscore)
export(ig_png_lfa_zscore2value)
export(ig_png_value2centile)
export(ig_png_value2zscore)
export(ig_png_wfa_centile2value)
export(ig_png_wfa_value2centile)
export(ig_png_wfa_value2zscore)
export(ig_png_wfa_zscore2value)
export(ig_png_wfl_centile2value)
export(ig_png_wfl_value2centile)
export(ig_png_wfl_value2zscore)
export(ig_png_wfl_zscore2value)
export(ig_png_zscore2value)
export(who_gs_acfa_centile2value)
export(who_gs_acfa_value2centile)
export(who_gs_acfa_value2zscore)
export(who_gs_acfa_zscore2value)
export(who_gs_bfa_centile2value)
export(who_gs_bfa_value2centile)
export(who_gs_bfa_value2zscore)
export(who_gs_bfa_zscore2value)
export(who_gs_centile2value)
export(who_gs_hcfa_centile2value)
export(who_gs_hcfa_value2centile)
export(who_gs_hcfa_value2zscore)
export(who_gs_hcfa_zscore2value)
export(who_gs_lhfa_centile2value)
export(who_gs_lhfa_value2centile)
export(who_gs_lhfa_value2zscore)
export(who_gs_lhfa_zscore2value)
export(who_gs_ssfa_centile2value)
export(who_gs_ssfa_value2centile)
export(who_gs_ssfa_value2zscore)
export(who_gs_ssfa_zscore2value)
export(who_gs_tsfa_centile2value)
export(who_gs_tsfa_value2centile)
export(who_gs_tsfa_value2zscore)
export(who_gs_tsfa_zscore2value)
export(who_gs_value2centile)
export(who_gs_value2zscore)
export(who_gs_wfa_centile2value)
export(who_gs_wfa_value2centile)
export(who_gs_wfa_value2zscore)
export(who_gs_wfa_zscore2value)
export(who_gs_wfh_centile2value)
export(who_gs_wfh_value2centile)
export(who_gs_wfh_value2zscore)
export(who_gs_wfh_zscore2value)
export(who_gs_wfl_centile2value)
export(who_gs_wfl_value2centile)
export(who_gs_wfl_value2zscore)
export(who_gs_wfl_zscore2value)
export(who_gs_zscore2value)
export(report_units)
export(value2centile)
export(value2zscore)
export(zscore2value)
importFrom(rlang,enquo)
importFrom(rlang,eval_tidy)
importFrom(stats,complete.cases)
Expand Down
Loading

0 comments on commit 2e20ac3

Please sign in to comment.