ted_bar: Bar graph for multiple response questions

Description Usage Arguments Details Value Examples

View source: R/ted_bar.R

Description

ted_bar Takes a table prepared by ted_sr_data_prep or ted_mr_data_prep, and outputs a bar graph.

Usage

1
ted_bar(.df, .cap = NULL)

Arguments

.df

A dataframe, piped from ted_sr_data_prep or ted_mr_data_prep

.cap

Text for a caption (optional)

Details

This is an NACD function: Should you experience difficulties, see Ted Sikora

Value

A bar graph

Examples

1
2
3
df %>%
ted_mr_data_prep(dd, Q25, .full = F) %>%
ted_bar(.cap="2020 Poll, n=")

TSwork/TSpack documentation built on Dec. 15, 2020, 7:30 p.m.