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.

survey_plot_title(data, q, width = 50)

Arguments

data

surveydata object

q

Question

width

Passed to strwrap()