growthcharts / james

Joint Automatic Measurement and Evaluation System (JAMES)
https://growthcharts.org/james/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Error in eval(predvars, data, env) : object 'hgt_z_0' not found #23

Closed stefvanbuuren closed 6 months ago

stefvanbuuren commented 6 months ago

JAMES 1.5.5 gave an error when brokenstick estimates could not be calculated. The following code is a reprex.

james::draw_chart(
    txt = js, chartcode = c(""),
    selector = c("derive"), chartgrp = c("preterm"), agegrp = c("0-15m"),
    sex = c("female"), etn = c("nl"), ga = 27L, side = c("hgt"),
    curve_interpolation = TRUE, quiet = TRUE, dnr = c("0-2"),
    lo = "4w", hi = c("14m"), nmatch = 10L, exact_sex = TRUE,
    exact_ga = FALSE, show_future = FALSE, show_realized = FALSE,
    draw_grob = FALSE)
stefvanbuuren commented 6 months ago

Resolved on 6fa49ab10946c85a33db91529e39b13d110ae27a