1 First Header

Some intro material

1.1 First Subheader

plot x and y

x<-c(1,2,3)
y<-c(4,5,6)
plot(x,y)

1.2 second subheader

some more stuff

2 Complete R Code

It is a good idea to include this at the end of every RMarkdown document

x<-c(1,2,3)
y<-c(4,5,6)
plot(x,y)