RでTF-IDFを計算するコードlibrary(RMeCab)res <- docMatrix( "doc" , pos = c("名詞") ,weight = "tf*idf*norm")write.csv(res,"output_tf-idf.csv")