convert_columns_integer.Rd
This function takes a data frame and a vector of column names and converts the specified columns to integer type.
convert_columns_integer(data, columns_to_convert)
A data frame.
A character vector of column names to convert to integers.
A data frame with the specified columns converted to integers.
if (FALSE) {
data <- data.frame(a = 1:5, b = 1:5, c = 1.234:5.234)
convert_columns_integer(data, c("a", "b"))
}