Answers for "Plot two variables"

R
0

Plot two variables

ggplot(test_data, aes(date)) + 
  geom_line(aes(y = var0, colour = "var0")) + 
  geom_line(aes(y = var1, colour = "var1"))
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language