Title

library(knitr)
library(kableExtra)
library(ggplot2)
opts_chunk$set(warning = FALSE, message = FALSE)

Section 1

Here is a table

kable(mtcars[1:5, 1:5], booktabs = T, caption = "a table") %>%
  kable_styling(latex_options = c("striped", "HOLD_position"), position = "left")

\clearpage

Section 2

Here is a plot.

ggplot(mtcars, aes(x = mpg, y = wt)) +
  geom_point()


Try the memor package in your browser

Any scripts or data that you put into this service are public.

memor documentation built on Jan. 19, 2021, 9:07 a.m.