This is a document that I am typing for this class. It looks pretty cool. Let me make this bold and emphasize this line
I would to enter some data into this file
dat<-c(4,5,6,8,9,5,6,8,4)
mean(dat)
## [1] 6.111111
sd(dat)
## [1] 1.833333
The mean and standard deviation of this dataset is given above. I now want to plot the data.
boxplot(dat)
Now I want to do a T-test on the data
t.test(dat,mu=7)
##
## One Sample t-test
##
## data: dat
## t = -1.4545, df = 8, p-value = 0.1839
## alternative hypothesis: true mean is not equal to 7
## 95 percent confidence interval:
## 4.701886 7.520336
## sample estimates:
## mean of x
## 6.111111