lollipop: Graphing function to make lollipop bar graphs

View source: R/setup_dir.R

lollipopR Documentation

Graphing function to make lollipop bar graphs

Description

Graphing function to make lollipop bar graphs

Usage

lollipop(df, y_var, x_var, colorme)

Arguments

df

dataframe source to graph

y_var

variable for Y

x_var

variable for X

colorme

color to make the bars

Value

a 'ggplot' class graph with horiztontal bars with circles at the end of the bars

Examples

library(dplyr)
df.example <- dplyr::tribble(~name, ~rate, "Nina",32,"David",65)
lollipop(df = df.example, x_var = name, y_var = rate, colorme = "pink" )

MCOE documentation built on May 29, 2024, 2:56 a.m.