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
The problem with logical(0) output is that calculating weighted mean summaries by group causes an error when using dplyr::group_by and dplyr::summarise
## Column 2 of result for group 2 is type 'double' but expecting type 'logical'. Column types must be consistent for each group.
The text was updated successfully, but these errors were encountered:
I'd propose that
weighted.median
function returnsNA_real_
instead oflogical(0)
, when allx
are NAs:The problem with
logical(0)
output is that calculating weighted mean summaries by group causes an error when usingdplyr::group_by
anddplyr::summarise
## Column 2 of result for group 2 is type 'double' but expecting type 'logical'. Column types must be consistent for each group.
The text was updated successfully, but these errors were encountered: