Skip to content

Precision#12

Open
eatyourpeas wants to merge 4 commits intoWorldHealthOrganization:mainfrom
rcpch:precision
Open

Precision#12
eatyourpeas wants to merge 4 commits intoWorldHealthOrganization:mainfrom
rcpch:precision

Conversation

@eatyourpeas
Copy link
Copy Markdown

@eatyourpeas eatyourpeas commented Feb 24, 2026

See parallel PR in anthro package

This PR adds support for an optional parameter to both z_score and prevalence functions to allow users to prescribe the precision of returned z scores. Defaults to 2L if not provided.

It also adds some tests for the same, including errors thrown for negative or non-integer values. Also updates the documentation in the readme and roxygen params

Many thanks from us at RCPCH for considering this PR :)

@rkumapley
Copy link
Copy Markdown
Collaborator

thank you so much for your submission. We will reach out to you if we have any additional questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants