I am trying to log-transform a variable "VARIABLE1" in R but I get the following error:
log_VARIABLE1 <- log(data$VARIABLE1+1)