View source: R/plot-time-pattern.R
plot_time_pattern | R Documentation |
Plot single or multiple time pattern.
plot_time_pattern(
data,
id = "all",
ncol = 4,
reshape_data = TRUE,
print_prop_duration = TRUE,
fluid = FALSE,
labels = NULL,
legend = TRUE,
facet = TRUE
)
data |
data frame which contains time pattern data. |
id |
vector which contains questionnaire ids. |
ncol |
number of cols, if there are multiple plots (facets). |
reshape_data |
whether reshape data or not. |
print_prop_duration |
whether to print or not to print prop duration data (boolean). |
fluid |
should be static bars or fluid lines visualized (boolean). |
labels |
facet labels. |
legend |
show legend (boolean). |
facet |
plot facets (boolean). |
ggplot2 visualization of time pattern data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.