trinker / qdap

Quantitative Discourse Analysis Package: Bridging the gap between qualitative data and quantitative analysis
http://cran.us.r-project.org/web/packages/qdap/index.html
175 stars 44 forks source link

question_type throws error #127

Closed trinker closed 11 years ago

trinker commented 11 years ago
(x <- question_type(DATA$state, DATA$person))

results in:

Error in data.frame(as.character(key.match), key.reassign, stringsAsFactors = FALSE) : 
  arguments imply differing number of rows: 86, 0
In addition: Warning message:
In question_type(DATA$state, DATA$person) : 
  Some rows contain double punctuation.  Suggested use of sentSplit function.
trinker commented 11 years ago

This issue was caused by an update to lookup which no longer took matrices. question_type relied on the use of a matrix for key.match and this threw the error. This problem has been corrected in the dev version of qdap.