First Post

December 29, 2018 - 29 minutes
R R Markdown

Learning what I can do with R Blogdown

I will keep this post around for the duration as it may be useful for others

#Lets load some packages
library(tidyverse)
library(DT)
library(plotly)

Going to stick to stock datasets in this first attempt. My goal is to figure out how things will look and explore the workflow. Eventually I will shift my workflow to GitHub to utilize continous deployment. But I am not married to this theme, so it may change a few times.

#First how ddoes DT show up?

datatable(mtcars, filter = "top")

Now lets make a plot, I wonder how themes interact with ggplot?

ggplot(mtcars, aes(x = wt, y = qsec, color = disp))+
  geom_point()

How about some interaction? Does plotly play well?

pl1<-ggplot(mtcars, aes(x = hp, y = mpg, size = wt, color = factor(cyl)))+
  geom_point()+
  geom_smooth(method = "loess")+
  theme_minimal()

pl1

#now to compare, within the same code chunk

ggplotly(pl1)

That doesn’t look so good in the same chunk, looks like I will need to be careful with figure sizing.