I am trying to work with a data set that uses the value -4 instead of NA as the NA value. So I have found the following answer, which gets me close but I am not sure how to generalize this?
colnames(data)[colSums(is.na(data)) > 1000]
I tried using funcion(x)which(x <0) in place of is.na(data) but that did not go very well.
How can I achieve this aim?
Thanks in advance.