plot_grouped: Plot grouped frequency graph

Description Usage Arguments Value

View source: R/plot.R

Description

Produce bar chart (plotly) for frequency data with grouping variable.

Usage

1
plot_grouped(table, xlab, ylab, n, font_size = 12, orientation = "v", ...)

Arguments

table

Frequency table (data frame). 3 columns - cateogry names, groups and frequencies.

xlab

X axis title

ylab

Y axis title

n

sample size

font_size

minimum font size for the plot (numeric).

orientation

plot orientation ("h" = horizontal, "v" = verical). Vertical by default.

...

additional plotly_ly arguments

Value

bar chart


best-practice-and-impact/CARS2 documentation built on Dec. 19, 2021, 8:47 a.m.