Closed krpaulson closed 3 years ago
@chacalle I am not sure if this will still be relevant with the significant pending changes you have to hierarchyUtils
, but please take a look or add a test for this scenario.
Yeah this doesn't seem to be an issue after the changes
Describe the bug I think there is an
rbindlist
somewhere inscale
which needs to useuse_names=T
.I am trying to scale by sex with a data.table in which some groups do not have sex-specific rows, and I came across this error. See the toy example below.
To Reproduce
Expected behavior Expected output would have group 1 untouched and group 2 scaled by sex.
Screenshots
Desktop (please complete the following information):
v2020.0.12
Additional context Am I using the
missing_dt_severity = "none"
option correctly? Also, should we add a test for this scenario?