stargazerTT function

Function for exporting a sufficienct solution from minimize in latex, html, or text format.

Function for exporting a sufficienct solution from minimize in latex, html, or text format.

stargazerTT(truthtable, show.cases = FALSE, type = "latex", title = "", out = NULL, digits = 3)

Arguments

  • truthtable: A truth table obtained with the truthTable function.
  • show.cases: Logical. Should the names of cases be printed?
  • type: character string that specifies what type of output the command should produce. The possible values are "latex" (default), "html", "text".
  • title: title for the table.
  • out: name of the file to be saved containing the extension (e.g. "mysol.tex", "mysol.txt")
  • digits: To how many digits should the parameters of fit be rounded up.

References

Oana, Ioana-Elena, Carsten Q. Schneider, and Eva Thomann (forthcoming). Qualitative Comparative Analysis (QCA) using R: A Gentle Introduction. Cambridge: Cambridge University Press.

Author(s)

Ioana-Elena Oana

Examples

# Import your data. For example: data(SCHF) # Get the truth table: mytt <- truthTable(SCHF, outcome = "EXPORT", conditions = c("EMP","BARGAIN","UNI","OCCUP","STOCK", "MA"), incl.cut = .9, complete = TRUE) # Export as latex: stargazerTT(mytt) # Export as text: stargazerTT(mytt, type = "text")
  • Maintainer: Ioana-Elena Oana
  • License: GPL-2
  • Last published: 2025-03-21

Useful links