You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using naniar's special missing values (via bind_shadow() and recode_shadow()), the missing value types are not propagated through dplyr operations like mutate(). This means we lose information about why a result is NA when performing calculations.
I am aware that this is probably out of scope of what naniar can do, but do you happen to have a suggested approach here?
Example
Here's a minimal reproducible example where the result is completely uninformed about why it is NA.
Current Behavior
When using
naniar
's special missing values (viabind_shadow()
andrecode_shadow()
), the missing value types are not propagated throughdplyr
operations likemutate()
. This means we lose information about why a result is NA when performing calculations.I am aware that this is probably out of scope of what naniar can do, but do you happen to have a suggested approach here?
Example
Here's a minimal reproducible example where the result is completely uninformed about why it is NA.
Created on 2024-12-16 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: