Hello guys!
I need to know how to count simply the number of values among several columns row-wise. It's not about counting certain strings or numbers, it's just about the number of values not being NA
in specific columns.
I dont know if this would be the right way to get the desired outcome. If yes, what would I have to insert into the mutate()
brackets?
df <- df %>%
rowwise() %>%
mutate(abc01 = sum())
This is the kind of result I need: