This text will appear bold!
This text will also appear bold!
This text will appear in italics!
This text will also appear in italics!
Ordered Lists
Unordered Lists - 1
Unordered Lists - 2
Block Quote
Ordered Lists
1. first item in list
2. second item in list
3. third item in list
Unordered Lists
- first item in list
- second item in list
- third item in list
Block Code - 1
> Ordered Lists
> 1. first item in list
> 2. second item in list
> 3. third item in list
> Unordered Lists
> - first item in list
> - second item in list
> - third item in list
Block Code - 2
> Ordered Lists
> 1. first item in list
> 2. second item in list
> 3. third item in list
> Unordered Lists
> - first item in list
> - second item in list
> - third item in list
Image
# for development
knitr::opts_chunk$set(echo=TRUE, eval=TRUE, error=TRUE, warning=TRUE, message=TRUE, cache=FALSE, tidy=FALSE, fig.path='figures/')
# for production
#knitr::opts_chunk$set(echo=TRUE, eval=TRUE, error=FALSE, warning=FALSE, message=FALSE, cache=FALSE, tidy=FALSE, fig.path='figures/')
library(tidyr)
library(dplyr)
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
head(cars)
## speed dist
## 1 4 2
## 2 4 10
## 3 7 4
## 4 7 22
## 5 8 16
## 6 9 10
maxSpeedVal <- max(cars$speed)
maxDistsVal <- max(cars$dist)
maxSpeedVal
## [1] 25
maxDistsVal
## [1] 120
The maximum speed is 25
The maximum dist is 120
plot(cars)