Clock Chart, Hands Colored by a Factor
clock_chart_qlt.Rd
This function will plot time of events on a 24 hour clock to show which events took place at what times. The hands are colored by a qualitative (factor) vector.
Details
Change the title, subtitle or the caption of the plot with
ggplot2::labs()
. Change the legend title by adding
ggplot2::labs(color = "TITLE")
. Add
or modify legend by theme(legend.position = "POSITION")
; the valid
postion names in ggplot2
are top
, bottom
, right
, and left
,
excluding more complex options.
See also
clock_chart_col()
for coloring by a numeric variable,
clock_chart_qnt()
for coloring and modifying length by a numeric variable,
clock_chart_len()
for modifying length by a numeric variable,
clock_chart()
for the simplest clock chart
Examples
# A plot showing sms receiving times based on
# criteria (type/sender/invoked)
clock_chart_qlt(smsclock, time = time, crit = sender)+
ggplot2::labs(color = "Sender", title = "SMS's Received throughout th Day")