Function for combining solutions into a unified data frame

52 views
Skip to first unread message

Breno Marisguia

unread,
Aug 31, 2024, 4:43:53 PM8/31/24
to QCA with R
Hello!

I'm excited to share a function I've developed called `qca_solutions`, designed to streamline the process of combining different QCA solutions into a unified data frame:

https://marisguia.github.io/supplementary/qca_solutions.html

I hope you find it useful!

Best regards,
Breno

Adrian Dușa

unread,
Sep 1, 2024, 4:54:28 AM9/1/24
to QCA with R, Breno Marisguia
Hi Bruno,

That is a nice idea, and it's good to see it developed around the QCA package.

I tend to stay away from the tidyverse, although I see its attractiveness. It is just a too heavy dependency wilderness, something like wanting a banana and getting it plus the gorilla holding it and the whole tropical forest around.

All the best,
Adrian
--
You received this message because you are subscribed to the Google Groups "QCA with R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qcawithr+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qcawithr/d08b3d97-8a3e-422c-bf5b-04a694e9dd75n%40googlegroups.com.

Breno Marisguia

unread,
Sep 10, 2024, 8:31:38 PM9/10/24
to QCA with R
Thanks a lot for the tip!

Also, I noticed that the function couldn't handle multiple solutions, but it has been updated now!

Best,
Breno

Breno Marisguia

unread,
Sep 14, 2024, 10:18:46 PM9/14/24
to QCA with R
Hello again!

Finally, this is the last update of the `qca_solutions` function here. Sorry for being spammy!

You can find the full documentation, example usage, and source code on GitHub: qca_solutions

The function is now complete (?), and I’ve incorporated several improvements. Below is a list of its features:

  • Consolidates multiple QCA solutions: Combine conservative, intermediate, and parsimonious solutions into a single, unified dataframe.
  • Consistency filtering: Use the `incl.cut` parameter to filter prime implicants based on a consistency threshold.
  • Subcomponents selection: Specify which subcomponent from the intermediate solution (CnPn) you’d like to include, using the `icp` argument.
  • Rounding: The `round` argument allows for rounding all numeric values to the desired decimal places.
  • Save results directly to Excel: Easily save the output data frame to an Excel file using the `save` parameter.

Feel free to reach out if you have any questions or suggestions!

Best regards,
Breno
Reply all
Reply to author
Forward
0 new messages