# 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")
Run the code above in your browser using DataLab