powered by
tf-idf function
tf_idf(x)
a input matrix x of terms counting.
a list with the terms tf-idf and the terms tf-idf in descending order.
# NOT RUN { data("news_data") X=as.matrix(news_data[,2:ncol(news_data)]) tf_idf_terms = tf_idf(X) # }
Run the code above in your browser using DataLab