Tutorial by Topics: knitr

Header: YAML format, used when the script is compile to define general parameter and metadata Parameterdefinitiontitlethe title of the documentauthorThe author of the documentdateThe date of the document: Can be "r format(Sys.time(), '%d %B, %Y')"authorThe author of the docu...
<<internal-code-chunk-name, options...>>= # R Code Here @ \Sexpr{ #R Code Here } << read-external-R-file >>= read_chunk('r-file.R') @ <<external-code-chunk-name, options...>>= @ OptionDetailsecho(TRUE/FALSE) - whether to include R source code in...

Page 1 of 1