ryscott5 / eparTextTools

BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

tornadoCompare() returns an error #18

Closed adamlhayes closed 7 years ago

adamlhayes commented 7 years ago

Running tornadoCompare returns the following error message when a tdm isn't saved as 'tdm':

Error in as.matrix(tdm[, as.vector(termmatrix[pickword, ]) <= frequency]) : object 'tdm' not found

Should be an easy fix: just replace 'tdm' with 'termmatrix' in the function

Synaps3 commented 7 years ago

Fixed. Checked in.