首先,我们运行Paul Bleicher创建的calendarHeat函数以显示日历热图。 其次,我们创建一些随机的时间序列数据。 最后,我们在两个调色板中绘制时间序列。...Sessions")
calendarHeat(df$dates, df$sessions, varname = "Sessions",
ncolors = 99, color = "r2b...values,
ncolors=99,
color="r2g...CA0020") #red to blue
r2g...red to green
w2b <- c("#045A8D", "#2B8CBE", "#74A9CF", "#BDC9E1", "#F1EEF6") #white to blue
g2r