mvogel78 / childsds

Calculation of standard deviation scores adduced from different growth standards (WHO, US, UK, Germany, Italy, China, etc). Therefore, the calculation of SDS-values for different measures like BMI, weight, height, head circumference, different ratios, etc. are easy to carry out. Also, references for laboratory values in children are available: serum lipids, iron-related blood parameters.
https://github.com/mvogel78/childsds/wiki/List-of-Reference-Tables-by-Item
15 stars 1 forks source link

warnings using ukwho.ref for BMI #6

Closed philip-ad closed 3 years ago

philip-ad commented 3 years ago

Hi Whenever I run the sds(.) with ref = ukwho and item ='bmi' I get a series 8 of identical warnings "In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) : collapsing to unique 'x' values"

It does however produce a value which looks credible. I am not getting this message with height or weight or with other references (such as uk1990)

Any ideas? Should the results still be reliable despite the warnings

thanks and best wishes Phil

mvogel78 commented 3 years ago

Hi Phil, thanks for your message. The warnings are because of a duplicated line in the references. Nothing to worry about, the calculations are correct. However, I will fix it in the next version.

Regards Mandy

Am Fr., 8. Jan. 2021 um 17:52 Uhr schrieb philip-ad < notifications@github.com>:

Hi Whenever I run the sds(.) with ref = ukwho and item ='bmi' I get a series 8 of identical warnings "In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) : collapsing to unique 'x' values"

It does however produce a value which looks credible. I am not getting this message with height or weight or with other references (such as uk1990)

Any ideas? Should the results still be reliable despite the warnings

thanks and best wishes Phil

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mvogel78/childsds/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMRRYE7MNG6QGOWDPVRCT3SY4Z4BANCNFSM4V2WEBCQ .

philip-ad commented 3 years ago

OK thanks Mandy and thanks for thanks for the great package. Has been really useful.

best wishes

Phil