SyntaxFix
Write A Post
Hire A Developer
Questions
new[,2] is a factor, not a numeric vector. Transform it first
new[,2]
new$MY_NEW_COLUMN <-as.numeric(as.character(new[,2])) * 5