statist7 / LMSgrowth2

MIT License
2 stars 2 forks source link

Warnings when using WHO06 data #29

Open giordano opened 4 years ago

giordano commented 4 years ago

When using WHO06 data I see a lot of warnings in the calculator and centiles (PR #26) tab:

Warning in regularize.values(x, y, ties, missing(ties)) :
  collapsing to unique 'x' values

With @tamuri we found out that this is due to duplicate rows for years == 2 in the data, for both sexes

statist7 commented 4 years ago

You are right. The duplicate rows at age 2 are to provide reference values for both length and standing height. It's on my to-do list to extend LMS2z to handle references with duplicated rows, which also arise where two different references are glued together.