library(timeDate)
library(ggplot2)
library(ggrepel)
dataset1$TimeStamp <- timeDate(dataset1$TimeStamp, format = "%Y/%m/%d %H:%M:%S", zone = "GMT", FinCenter = "GMT")
p1 <- ggplot(dataset1, aes(x = TimeStamp, y = y1))
p1 +
geom_point() +
geom_text_repel(aes(label = Label1), size = 3)
notice: when execute code above I see next: Don't know how to automatically pick scale for object of type timeDate. Defaulting to continuous. Error: geom_point requires the following missing aesthetics: x
How to use timeDate class in ggplot?