Hi everybody! This is an RMarkdown document. You can do italics and bold, and include a link.
values<- rnorm(5)
values
We can also use the echo option to show or not show code as opposed to the output and eval results to show or not show the output.
Unordered lists:
first item
second item
Ordered lists:
first
second
We can insert an image like this:
We can add citations1
We can use math mode \(\alpha \beta\) and so on.
Finally, we can make nice tables.
mpg_sm <- head(mpg)
kable(mpg_sm)
| manufacturer | model | displ | year | cyl | trans | drv | cty | hwy | fl | class |
|---|---|---|---|---|---|---|---|---|---|---|
| audi | a4 | 1.8 | 1999 | 4 | auto(l5) | f | 18 | 29 | p | compact |
| audi | a4 | 1.8 | 1999 | 4 | manual(m5) | f | 21 | 29 | p | compact |
| audi | a4 | 2.0 | 2008 | 4 | manual(m6) | f | 20 | 31 | p | compact |
| audi | a4 | 2.0 | 2008 | 4 | auto(av) | f | 21 | 30 | p | compact |
| audi | a4 | 2.8 | 1999 | 6 | auto(l5) | f | 16 | 26 | p | compact |
| audi | a4 | 2.8 | 1999 | 6 | manual(m5) | f | 18 | 26 | p | compact |
As well as making plots of these tables.
footnotes↩︎