lollipop {MCOE} | R 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" )
[Package MCOE version 0.4.0 Index]