Open wainman19 opened 5 years ago
Would you share the whole code section, please?, like this:
```{r}
plot(airquality$Ozone, airquality$Temp)
That's a good question, and it's something I didn't make clear enough so I'm glad you asked.
An R Mardown is essentially a document where you can embed chucks of R code. To embed code, you have to tell the Markdown that you want to write code rather than text; do so you need to surround the code with a pair of backticks (```) and the letter r.
It's a subtle difference that I didn't go over enough. If you open another Markdown document and look at the plot they included it should be clear
Ha! That works, thanks.
On Thu, Apr 4, 2019 at 8:37 PM ejvanholm notifications@github.com wrote:
That's a good question, and it's something I didn't make clear enough so I'm glad you asked.
An R Mardown is essentially a document where you can embed chucks of R code. To embed code, you have to tell the Markdown that you want to write code rather than text; do so you need to surround the code with a pair of backticks and the letter r.
plot(iris)
rather than plot(iris)
It's a subtle difference that I didn't go over enough. If you open another Markdown document and look at the plot they included it should be clear
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DS4PS/ddmp-uw-class-spring-2019/issues/3#issuecomment-480137684, or mute the thread https://github.com/notifications/unsubscribe-auth/AvA5UbGUxJovp26NaS4ZlK80QXw4I8xXks5vdsS1gaJpZM4ceFc3 .
Scatter Plot doesn't show up after knitting RMD file.
Display Some Data
plot(airquality$Ozone, airquality$Temp)