This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.
hhhhhh
We are generating some summary statistics.
# Create a data vector, a 1-D array
x = c(23, 45, 67, 23, 34, 55, 12, 90, 32, 33, 22, 56, 61, 34, 22, 78, 67, 54, 34, 87, 76, 34, 98, 83)
mean(x)
## [1] 50.83333
max(x)
## [1] 98
min(x)
## [1] 12
summary(x)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 12.00 32.75 49.50 50.83 69.25 98.00
boxplot(x)
The following is a histogram.
hist(x)