make.list.table: Collate multiple regression runs.

Description Usage Arguments Details Value

View source: R/make_word_lists.R


This method makes a table of several regression runs side by side. The table has rows being phrases and the columns being the regression runs. A number is usually the weight found for that word at that window. If multiple runs have the same phrase, row will have multiple entries.


make.list.table(result.list, model.names = names(result.list), M = 100,
  topic = "Summary Collection", method = c("rank", "weight", "count",
  "word"), annotate = TRUE)



List of mix of textreg.result objects and dataframes with two columns of "word" and "weight". (The latter is for merging lists from other regression packages.)


Names of the textreg.result objects


maximum number of words to keep


String A name for the topic


Different ways to sort the phrases. 'word' means make a list of words.


Add summary statistics to table such as phrase counts, etc.


Method will also order rows based on calculated importance of phrases. Multiple ways of ordering are possible, via the method argument.

Finally, the table can be annotated with descriptive statistics of the phrases.

Warning: this method DOES NOT flip negative weight words (so negative weight usually look less imporant in the ordering).

See the bathtub vignette for an example of this method.


If annotate = true, a dataframe with each column corresponding to an textreg.result object (and possibly extra columns about phrases). Otherwise a matrix of the word scores.

textreg documentation built on May 19, 2017, 10:20 a.m.

Search within the textreg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.