Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

rmarkdown section title as variable ##

```{r, results="asis", echo = FALSE}
i = 1
cat("## Subject", i, "
")
plot(i)
i = 2
cat("

## Subject", i, "
")
plot(i)
```
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rmarkdown #section #title #variable
ADD COMMENT
Topic
Name
4+2 =