Problem with R Studio - 2 levels only

Taylor Conran
Taylor Conran used Ask the Experts™
on
I ran into a problem in R Studio. I am trying to run a t-test and it says "grouping data must have exactly 2 levels". Anyone know how to do this t-test with our values? We are trying to use bar charts showing means with error bars by presenting the results in Excel. Also need to know how to segment results using ANOVA.
rstudio.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Analyst Assistant
Commented:
Taylor

What do you see if you view the data  after running na.omit on it?
Taylor ConranMarketing and Community Relations Intern

Author

Commented:
Figured it out on my own but thanks! Full points to you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial