convertir booleano a int r
# Convert boolean to integer
as.integer(TRUE) # return 1
as.integer(FALSE) # return 0
Matthew David
# Convert boolean to integer
as.integer(TRUE) # return 1
as.integer(FALSE) # return 0
dataframe$ColumnName <- as.logical(dataframe$ColumnName)