draw_multivari_plot_count {sherlock}R Documentation

Draw Multivari Plot for Counts

Description

Draws a multivari small multiples plot for count data

Usage

draw_multivari_plot_count(
  data,
  y_var,
  grouping_var_1,
  grouping_var_2,
  grouping_var_3,
  grouping_var_4,
  x_axis_text_size = 11,
  panel_text_size = 14,
  alpha = 0.6
)

Arguments

data

Input dataset to be plotted (required)

y_var

Response variable, Y (required)

grouping_var_1

Select column for lowest level grouping variable (required)

grouping_var_2

Select column for second level grouping variable (required)

grouping_var_3

Select column for third level grouping variable (optional)

grouping_var_4

Select column for fourth level grouping variable (optional)

x_axis_text_size

Set X axis text size. By default, it is set to 11 (optional)

panel_text_size

Set panel text size. By default, it is set to 14 (optional)

alpha

Set transparency. By default, it is set to 0.6 (optional)

Value

A 'ggplot' object


[Package sherlock version 0.7.0 Index]