posts by vikram

Sporadically updated, (somewhat) useful stuff. back to Email GitHub

@labrichthys Twitter ORCID RSS feed

or click here for the archive

test post

#tags: #test  #R 

I am using this post to modify an R Markdown template provided by the rmarkdown package. This will be mostly futzing around so I can get familiar with how things work. Some light plagiarism will be involved for the things I don’t feel like changing.

This is an R Markdown format used for publishing markdown documents to GitHub. When you click the Knit button all R code chunks are run and a markdown file (.md) suitable for publishing to GitHub is generated.

Including Code

You can include R code in the document as follows:

##      speed           dist       
##  Min.   : 4.0   Min.   :  2.00  
##  1st Qu.:12.0   1st Qu.: 26.00  
##  Median :15.0   Median : 36.00  
##  Mean   :15.4   Mean   : 42.98  
##  3rd Qu.:19.0   3rd Qu.: 56.00  
##  Max.   :25.0   Max.   :120.00

Including Plots

You can also embed plots, for example:

plot(pressure, pch=19, col="black", xlim=c(0,800), 
     ylim=c(0,800), tck=0.02, bty="n")


Note that the echo = TRUE parameter was added to the code chunk to allow printing of the R code that generated the plot.

Try out one more syntactic thing:


This is a sentence styled by H1

This is a sentence styled by H2

This is a sentence styled by H3

This is a sentence styled by H4

This is a sentence styled by H5
This is a sentence styled by H6

Can I italicize a header? Seems like it!

how about some code = 123?

let’s get bold code = 123

or to be truly ambitious: code = 123


Written on April 19, 2019 by Vikram B. Baliga (vbaliga).