I’m trying to incorporate the result in rmarkdown when kniting the file:
Below are my code:
```{r, Test for unit root, echo=F, include = T, message= F, warning=F}
#ADF test
adf.test(output_day$output)
```
but it returns error: You can’t use macro parameter character #’ in horizontal mode. How should i fix this the result?
I guess I guess I cannot directly include it without proper latex formatting. May I ask what should I do?
New contributor
Jianing Shao is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.