make_barplots

0th

Percentile

Make a nice-looking barplot.

Make a nice-looking barplot.

Usage
make_barplots(data, column, count = TRUE, title = NULL, ylab = NULL)
Arguments
data

A data.frame with the data you want to graph.

column

A string with the name of the column you want to make the plot from.

count

A boolean (default TRUE) indicating if you want the barplot to show a count of the column values or a percent.

title

A string with the text you want as the title.

ylab

A string with the text you want as the y-axis label.

Value

A barplot object.

Aliases
  • make_barplots
Examples
# NOT RUN {
make_barplots(mtcars, "cyl")

make_barplots(mtcars, "cyl", count = FALSE, title = "hello", ylab = "YLAB Label")
# }
Documentation reproduced from package crimeutils, version 0.1.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.