Hi everybody! This is an RMarkdown document.You can do Italics and bold and include a [link] (https://img.lovepik.com/photo/45010/3553.jpg_wh860.jpg)
library(ggplot2)
data(mpg,package = "ggplot2")
#mpg <-read.csv("http://goo.gl/uEeRGU")
we can also use echo to show or not show the code or results and we did eval to show or not to show the output. # More text tools
Unordered lists:
-First item
-second item
Ordered lists:
first
second
we can insert an image like this: ![https://img.lovepik.com/photo/45010/3553.jpg_wh860.jpg]
summary(cars)
## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
# Scatterplot
theme_set(theme_bw())
g<-ggplot(mpg,aes(cty,hwy))
g + geom_jitter(width=.5, size=1)+
labs(subtitle="mpg: city vs highway mileage",
y="hwy",
x="cty",
title="Jittered Points")
You can also embed plots, for example: