我正在尝试将二次序列图链接到R中的一个图中,作为构面网格或任何交互式的图。
第一张图:
TT = ggplot(data = x1, aes(Date, Count_of_Fresh_emails)) +
geom_line(aes(color = Country), size = 1) +
scale_color_manual(values = c("#00AFBB", "#E7B800", "darkgreen", "red")) +
theme_minimal() +
scale_x_date(date_labels = "%b/%Y")
ggplotly(TT)
第二张图:
p <- ggplot(data = x2, aes(Date, FollowUp_Counts)) +
geom_line(aes(color = Country), size = 1) +
scale_color_manual(values = c("#00AFBB", "#E7B800", "darkgreen", "red")) +
theme_minimal() +
scale_x_date(date_labels = "%b/%Y")
ggplotly(p)