Venn diagram from binary variables

Hi
I have a df of three binary dummy variables, for each observation 1/0 shows whether I have sensor data on heart rate, breathing, and/or activity (screenshot attached).
I'd like to create a Venn diagram showing how the number and proportion of combinations of observations. I've explored ggvenn and venn.diagram, but realise my data isn't in a suitable format for these commands.
Any pointers please?
BW
Joe
image

Solved. ggvenn worked - once I had put speech marks around my variable names!

library(ggvenn)
ggvenn(cov.df, c("heartyn", "respyn", "activeyn"))

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.