ggbar: Simple ggplot

View source: R/plot.R

ggbarR Documentation

Simple ggplot

Description

Draw a simple bar plot quickly and easily

Usage

ggbar(
  data,
  x,
  y,
  ymin = NULL,
  ymax = NULL,
  ymin_err,
  ymax_err,
  group = NULL,
  color = NULL,
  fill = NULL,
  barcolor = "transparent",
  text = NULL,
  label,
  family = "Comic Sans MS",
  size = 4,
  angle = 0,
  hjust = 0.5,
  vjust = 0.5
)

Arguments

data

a data.frame

x

an expression variable

y

an expression variable

ymin

an expression variable

ymax

an expression variable

ymin_err

an expression variable

ymax_err

an expression variable

group

an expression variable

color

an expression variable

fill

an expression variable

label

an expression variable

family

a string

size

a numeric

angle

a numeric

hjust

a numeric

vjust

a numeric


seokhoonj/vuw documentation built on Jan. 30, 2024, 11:36 a.m.