Social Media Research

02 R Data Analysis


Question

Explain the basic syntax of R Markdown ?


Answer

R Markdown are Markdown based documents that can include executable R Code. Code can either be Inline starting with `r sum(1:5)` or as a Code Block starting with

```{r block_name, include=TRUE, echo=TRUE, message=TRUE, warning=FALSE}
code

```

R Markdown documents are usually exported as PDF, Word or HTML files.




Comments