jb_figure: Plot survey bar plots

Description Usage Arguments Value Examples

View source: R/jenshelper.R

Description

Plot survey bar plots

Usage

1
jb_figure(df = des_amy, out = fida, upper = NA, pal = "tol3")

Arguments

df

a survey design obsject (survey or srvyr)

out

a single variable of interest

upper

custom max value of y axis

fillncolor

any palette from retinal_palettes

Value

a ggplot dynamite plot with errorbars

Examples

1
jenshelper::retinal_palettes # for choice of palettes

barthelmes/jenshelper documentation built on June 15, 2020, 4:09 p.m.