I have this table, produced as output from the truthTable() and minimize() functions of the package QCA
I am struggling with finding some method for coercing this QCA_min` object into a flextable (or I could even use another tool for creating a table). Important is fact the I would like to reproduce the equation with the sufficient statement:
M1: ~DEV + ~STB <-> ~SURV
Would you have any suggestions?
Thanks
library(QCA)
ttLCn <- truthTable(LC, ~SURV, sort.by = "incl, n", show.cases = TRUE)
pLCn <- minimize(ttLCn, include = "?", details = TRUE)
pLCn

This isn't exactly pretty but you can see how the values are created by looking at the
QCA:::print.QCA_minfunction. Here's a way to extract that infromationThis returns a list with two elements.
capture_qca(pLCn)[[1]]is the formula part andcapture_qca(pLCn)[[2]]is a data.frame you can pass to flextable.