This function plot the histogram for a column in the input database with the x axis fixed for all query keywords.

plot_histogram_uniform_x_axis(
  x,
  col,
  x_axis,
  x_label,
  title = "",
  na_fill = "NA"
)

Arguments

x

A tibble data.

col

The column used to plot the histogram.

x_axis

The value that the x$col may take.

x_label

The label for x axis.

title

The title for the histogram. (default "")

na_fill

The value to fill NA value. (default "NA")

Value

A ggplot histogram with itsx axis fixed for all query keywords.