8 September 2019

08/09/2019

In this short presentation, I'll demonstrate:

  • That I know the basics of making a presentation on RStudio
  • That I can embed interactive plots to the slides of my presentation

Galton's data plotting; A Regression

library(plotly)
library(UsingR)
data(Galton)      

ggplotly(ggplot(Galton, aes(x= parent, y=child))+
               geom_jitter(width=0.2, height = 0.2, 
                           alpha = 0.4, colour = "darkgrey")+
               geom_smooth(method=lm))

The data have been jittered a bit to show them more clearly.

The End