Skip to content
Prev 387444 / 398502 Next

How to plot dates

Dear Greg,

There is no variable named Y_Var in your data set. I suspect that it's 
intended to be a generic specification in the recipe you were apparently 
given. In fact, there appears to be only one variable in myDat and 
that's datetime. What is it that you're trying to do?

A more general comment: If I'm correct and you're just following a 
recipe, that's a recipe for problems. You'd probably be more successful 
if you tried to learn how ggplot(), etc., work. My apologies if I'm 
misinterpreting the source of your difficulties.

I hope this helps,
  John

John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/
On 2021-03-16 12:21 p.m., Gregory Coats via R-help wrote: