Practicing creating reports:
I created variables x, y, and z
Images:
An image from my desktop:
If you would like to know how to shrink your image use: (http://stackoverflow.com/questions/15625990/how-to-set-size-for-local-image-using-knitr-for-markdown) Here is another link for basic R Markdown: (http://rmarkdown.rstudio.com/authoring_basics.html)
An image from the net:
R code
Here is a “chunk” of R code with a comment in it:
x<-2+2
y<-5*10
z<-round(5/3)
x+y+z
## [1] 56
#I can add
Any text after a “#” inside R code is treated as a comment that is not executed.
And, now, without “echoing” the R code in the final HTML document:
## [1] 56