surveydata (version 0.2.3)

survey_plot_title: Construct plot title from the question text, wrapping at the desired width.

Description

This creates a plot title using [ggplot2::ggtitle()]. The main title is string wrapped, and the subtitle is the number of observations in the data.

Usage

survey_plot_title(data, q, width = 50)

Arguments

data

surveydata object

q

Question

width

Passed to strwrap()