non-numeric

  1. L

    non-numeric argument to binary operator -R

    I have this code : dataset <- maml.mapInputPort(1) library(tm) ## Text mining library ## Set the comlumn names colnames(dataset) <- c("sentiment", "tweets") ## Extract text data and coerce the vector to a tm corpus tweet.text<- Corpus(VectorSource(dataset['tweets'])) ## Apply...