Could I please get some assistance on re-writing the code below? Every time I run it, I receive the message below.
funs()
was deprecated in dplyr 0.8.0.
CODE:
bind_rows(summarise_all(., funs(if(is.numeric(.)) sum(.) else ""))) %>%
na_if(., 0) %>%
I tried using summarize ()
and list()
but no luck.