I got this dataframe:
df <- data.frame(
a = c("1", "2", "", "")
, b = c("1", "", "3", "")
)
a b
1 1 1
2 2
3 3
4
I want to indentify (and then actually remove) the rows where all columns fulfill one particular criterion - in this case == ""
Desired output:
a b
1 1 1
2 2
3 3