Skip to content

Instantly share code, notes, and snippets.

@nksingh62
Created January 16, 2015 06:23
Show Gist options
  • Save nksingh62/959c468ef62ef76478a0 to your computer and use it in GitHub Desktop.
Save nksingh62/959c468ef62ef76478a0 to your computer and use it in GitHub Desktop.
title author date output
Saving Through EditR
xxx
Thursday, January 15, 2015
html_document

This is an R Markdown document experiment to show how newline is inserted after saving by editR.

income<-rnorm(1000,10,5)
cons<-income+ rnorm(1000,0,1)
hist(income)
plot(cons,income)
p<-cut(income,5,labels=c(1,2,3,4,5))
tapply(cons,p,mean)
title author date output
Saving Through EditR
xxx
Thursday, January 15, 2015
html_document

This is an R Markdown document experiment to show how newline is inserted after saving by editR.


income<-rnorm(1000,10,5)

cons<-income+ rnorm(1000,0,1)

hist(income)

plot(cons,income)

p<-cut(income,5,labels=c(1,2,3,4,5))

tapply(cons,p,mean)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment