Just downloaded RStudio as I have a pending survey coming in. Below is a test. We asked what days people would prefer, and the data will come in Monday;Tuesday or Tuesday;Wednesday;Friday. After splitting it up and learning about tables, I have the below. My question: I'd like to count the Monday's, Tuesday's, etc. to see the grand total for each workday. I can't seem to figure this out. Of course, I'll want to plot this...but feel I need to count them up first. Thought I'd ask. Thanks so much
> table(swing$Days.WFH.swingspace.1)
Monday Thursday Tuesday Wednesday
1 1 2 2
> table(swing$Days.WFH.swingspace.2)
Friday Thursday Wednesday
2 3 1
> table(swing$Days.WFH.swingspace.3)
Friday Thursday
1 1