Hallo R studio community,
my issue:
data[,85:99 ] <- lapply(data[ ,c(85:99)], revalue(data[ ,c(85:99)], c("0"= FALSE, "1" = TRUE)))
and I get this error
Error in revalue(data[, c(85:99)], c(0 = FALSE, 1 = TRUE)) :
x is not a factor or a character vector.
any help? thanks!