Hi, I was using the prepare_serodata() function setting add_age_mean_f = FALSE to avoid grouping the data by age_mean_f in the new stan models. In this case, R returns an error message. This occurs because the variable age_mean_f is not created, but it is still called out of the if sentence in line 60 dplyr::arrange(.data$age_mean_f).
Please place an "x" in all the boxes that apply
Hi, I was using the
prepare_serodata()
function settingadd_age_mean_f = FALSE
to avoid grouping the data byage_mean_f
in the new stan models. In this case, R returns an error message. This occurs because the variableage_mean_f
is not created, but it is still called out of theif
sentence in line 60dplyr::arrange(.data$age_mean_f)
.