The purpose of this assignment is to find the p-value using an experimental procedure in R. The first step will be to create frequency plots to analize the data.

We w.ill first enter the data for BagC.

BagC=c(10,10,10,10,10,10,10,20,20,20,20,20,30,30,30,40,50)
BagD=c(10,20,30,30,30,40,40,40,40,40,50,50,50,50,50,50,50) 

Now we can creat our frequency plot.

library(UsingR)
par(mfrow=c(2,1))
DOTplot(BagC)
DOTplot(BagD)

plot of chunk unnamed-chunk-2

par(mfrow=c(1,1))