Dotted chart

library(bupaverse)

Dotted charts can be made with dotted_chart(). A dotted chart is a graph in which each activity instance is displayed by a dot. The x-axis refers to the time aspect, while the y-axis refers to cases. The dotted chart function has 3 arguments:

Below, you can see some examples for dotted charts with various configurations.

Absolute

sepsis %>%
    dotted_chart(x = "absolute")

sepsis %>%
    dotted_chart(x = "absolute", sort = "end")

Relative

sepsis %>%
    dotted_chart(x = "relative")

Relative day

sepsis %>%
    dotted_chart(x = "relative_day")

Relative week

sepsis %>%
    dotted_chart(x = "relative_week")

Other configurations:

sepsis %>%
    dotted_chart(x = "relative_week",
                 scale_color = ggplot2::scale_color_discrete)


Read more:


Copyright © 2023 bupaR - Hasselt University