Displaying 1 result from an estimated 1 matches for "mininew".
Did you mean:
mininet
2010 Sep 29
0
Transforming/appending data (words in IMDB)
...I've also tried to use the reshape library. That gets me a little closer to the kind of data I want, but I'm not really sure how to append it smartly.
library(reshape)
# To use "melt", I seem to need to shave off the columns I'm not interested in (film title and reviewer).
mininew<-cbind(mini[2:4],mini[6:8])
head(melt(mininew,id=c("Word", "Genre1", "Genre2", "Genre3", "Rating"), measured=c("Word_Ct")))
Word Genre1 Genre2 Genre3 Rating variable value
1 the Animation Adventure Comedy 9 Word...