SyntaxFix
Write A Post
Hire A Developer
Questions
You can use index of columns: data_set[,1:9] <- sapply(dataset[,1:9],as.character)
data_set[,1:9] <- sapply(dataset[,1:9],as.character)