
Hi,
 
I was wondering if anyone could provide me with help in entering the  dataset  below into R? I've been having a hard time in trying to figure out how to assemble it into both a frequency table and a bar graph within R. I've been trying to present the way I had the data arranged, as below, in Excel Spreadsheet into R. I am uncertain what the correct commands and exact techniques are into getting it correctly organized in R. Any help would be greatly appreciated! Thank you!

 
 
 




Diet 
Binger-Yes
Binger-No 
Total

None
24
134
158

Healthy
9
52
61

Unhealthy
23
72
95

Dangerous
12
15
27

Laura
  		 	   		  
	[[alternative HTML version deleted]]

