View source: R/clock_chart_qlt.R
clock_chart_qlt | R Documentation |
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.
Change the plot's title, subtitle, or caption using ggplot2::labs()
.
For example: ggplot2::labs(title = "My Plot",
subtitle = "My Subtitle")
You can change the title of the legend by adding
ggplot2::labs(color = "Legend Title")
.
clock_chart_qlt(data, time, crit)
data |
A data frame |
time |
Time in 24 hours. The allowed time formats for these family
of charts are |
crit |
The qualitative vector by which hands will be colored. |
A ggplot
object, which can be further modified
with ggplot2
functions and themes.
clock_chart_col()
for coloring and clock_chart_qnt()
for more options.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.