Description Usage Arguments Value Examples
Note this function is rather limited: it is expected for use inside R chunks with the results='asis' and warning=FALSE options specified.
1 2 | dual_column(left.is.text = TRUE, left, right, img,
working_dir = getwd())
|
left.is.text |
True if the content of the left file is text only. |
left |
The path to the local Rmd file for the left column. |
right |
The path to the local Rmd file for the right column. |
img |
path to the local image file to insert into the right column. |
working_dir |
The working directory to base relative paths from |
Dual column markdown correctly rendered using knitr irrespective of the output format.
1 2 | dual_column (left='left-file.Rmd', right='right-file.Rmd', img='image-file.jpg', working_dir='./')
dual_column (left.is.text=FALSE, left='left-file.Rmd', right='right-file.Rmd', img='image-file.jpg')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.