moose_barplot: A Function to make a barplot

View source: R/moose_barplot.R

moose_barplotR Documentation

A Function to make a barplot

Description

This function creates a barplot with rotated x labels

Usage

moose_barplot(
  data,
  column_to_plot,
  labels_vec,
  rot_angle,
  pcol = "steelblue",
  pmain = "",
  pylim = c(0, 1)
)

Arguments

data

the data frame holding the data to plot

column_to_plot

is the column name to plot

labels_vec

is a vector of label names to identify each bar

rot_angle

the angle to rotate the x-axis labels

pcol

is the plottin color

pmain

is the plotting main title

pylim

is the plotting y limits

Examples

moose_barplot()

hughesevoanth/moosefun documentation built on Aug. 22, 2022, 7:04 a.m.