Draws a Small Multiples Line Plot
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,
n_breaks_x_axis = 10,
n_breaks_y_axis = 10,
accuracy = 0.01
)
A 'ggplot' or 'plotly' object
input dataset to be plotted (required)
variable to be plotted on x axis (required)
variable to be plotted on x axis (required)
set grouping variable (required)
Set first faceting variable (optional)
Set second faceting variable (optional)
Highlights maximum values per group. By default, it is set to FALSE (optional)
takes a vector of strings corresponding to the lowest/highest units to be highlighted (optional)
set whether to display each group in a unique color. By default, it is set to FALSE (optional)
Set line size. By default, it is set to 0.7 (optional)
Set transparency. By default, it is set to 0.4 (optional)
set plot interactivity. By default, it is set to TRUE (optional)
Label (subtitle) for analysis description. By default, it is set to NULL (optional)
Label for x axis. By default, it is set to display x axis column name (optional)
Label for y axis. By default, it is set to display y axis column name (optional)
Set number of breaks on X axis. By default, it is set to 10 (optional)
Set number of breaks on Y axis. By default, it is set to 10 (optional)
Set number of decimal places to be displayed on X and Y axes. Examples: 0.1 - one decimal place, 0.01 - two decimal places, 0.001 - three decimal places etc. By default, it is set to 0.01 (optional)