knitr::opts_chunk$set(echo = FALSE) library(officedown) library(ggplot2) library(rvg) library(ehastyle)
This is an R Markdown presentation. 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.
summary(cars)
head(iris)
:::::: {.columns}
::: {.column}
Use layout='Two Content', ph=officer::ph_location_right()
to properly place content
:::
::: {.column}
head(cars,10)
::: ::::::
:::::: {.columns} ::: {.column}
head(cars)
:::
::: {.column} - Left side table ::: ::::::
## use dml to make the plot an editable svg in ppt dml(plot(pressure))
ggplotObj <- ggplot(mtcars, aes(wt, mpg), col = displ) + geom_point() ## pass a ggplot object to dml dml(ggobj = ggplotObj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.