Draw Small Multiples Line Plot
Source:R/draw_small_multiples_line_plot.R
draw_small_multiples_line_plot.Rd
Draws a Small Multiples Line Plot
Usage
draw_small_multiples_line_plot(
data,
x_axis_var,
y_axis_var,
grouping_var,
faceting_var_1,
faceting_var_2,
plot_max_values = FALSE,
lowest_highest_units,
unique_color_by_group = FALSE,
size = 0.7,
alpha = 0.4,
interactive = TRUE,
analysis_desc_label = NULL,
x_axis_label = NULL,
y_axis_label = NULL
)
Arguments
- data
input dataset to be plotted (required)
- x_axis_var
variable to be plotted on x axis (required)
- y_axis_var
variable to be plotted on x axis (required)
- grouping_var
set grouping variable (required)
- faceting_var_1
Set first faceting variable (optional)
- faceting_var_2
Set second faceting variable (optional)
- plot_max_values
Highlights maximum values per group. By default, it is set to FALSE (optional)
- lowest_highest_units
takes a vector of strings corresponding to the lowest/highest units to be highlighted (optional)
- unique_color_by_group
set whether to display each group in a unique color. By default, it is set to FALSE (optional)
- size
Set line size. By default, it is set to 0.7 (optional)
- alpha
Set transparency. By default, it is set to 0.4 (optional)
- interactive
set plot interactivity. By default, it is set to TRUE (optional)
- analysis_desc_label
Label (subtitle) for analysis description. By default, it is set to NULL (optional)
- x_axis_label
Label for x axis. By default, it is set to display x axis column name (optional)
- y_axis_label
Label for y axis. By default, it is set to display y axis column name (optional)