7.14 newggslopegraph Function

newggslopegraph() function takaes parameters in order.

newggslopegraph(data frame, time variable, numeric variable, grouping variable)

  • time variable must be a factor

  • numeric variable will be plotted on the y axis