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
Look to understand why this happens and perhaps rewrite the code, but if something elegant is not possible then have tabyl() ungroup the input (and print a warning?).
This is due to dplyr::select() not letting you unselect a grouping variable - so the fix is indeed to to ungroup(). Let's not print a warning, it's intuitive enough behavior even if you were expecting something grouped.
it ends up running on the grouping variable, not on the intended variable:
The text was updated successfully, but these errors were encountered: