R Markdown

Learning Resources from RStudio

https://www.rstudio.com/online-learning/

R Markdown Learning Resource:
http://rmarkdown.rstudio.com/lesson-1.html

Parameters can be passed to an R markdown document
Parameters can be passed to R document

Insertion of Table in R Markdown:

Tables can be made easily with knitr’s ‘kable’ function.

mydata = read.csv(“../../data/opposition_vs_runs.csv”)
kable(mydata, caption = ‘Runs Scored Against Countries’)

Cheat Sheet for R markdown: Contains various formatting options for R.
rmarkdown-cheatsheet-2.0


Formatting of Text in R Markdown

italics
bold
code
links

Insert a hyperlink ==> elephant

 

Knitting to pdf:

for page end: \newpage or \pagebreak

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s