Description Usage Arguments Value Examples
it creates a complete code chunk.
1 2 3 4 5 6 | mkdCodeChunkComplete(
object,
code,
optionList = getOptionsList(object),
sourceFilesList = NULL
)
|
object |
an easyreporting class object |
code |
a string or an expression generated with quote containing a function call or the entire code chunk to trace. |
optionList |
a list of options. |
sourceFilesList |
a list of files to source. |
none
1 2 3 4 5 6 | ## Not run:
rd <- easyreporting(filenamePath="./project_report",
title="example_report", author=c("It's me"))
mkdCodeChunkComplete(rd, code="a <- 1\n b <- 2\n c <- a+b\n print(c)")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.