Description Usage Arguments Value Examples
it creates a code chunk start. A list of options and files to source for the chunk can optionally be passed to the function.
1 2 3 4 5 6 7 | ## S4 method for signature 'easyreporting'
mkdCodeChunkSt(
object,
optionList = getOptionsList(object),
sourceFilesList = NULL,
isComplete = FALSE
)
|
object |
an easyreporting class object |
optionList |
a list of options |
sourceFilesList |
a list of files that can be sourced inside the code chunk. |
isComplete |
a flag determining if the chunk is already a complete chunk |
none
1 2 3 4 5 6 7 8 9 10 11 12 | rd <- easyreporting(filenamePath="./project_report",
title="example_report", author=c("It's me"))
## no options
mkdCodeChunkSt(rd)
## just leaving empty
mkdCodeChunkEnd(rd)
## setting options
optList <- makeOptionsList(includeFlag=TRUE)
mkdCodeChunkSt(rd, optionList=optList)
## just leaving empty
mkdCodeChunkEnd(rd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.