lazy_plot_likert | R Documentation |
This function produces a likert model that can be plotted
lazy_plot_likert(
lazy_model,
dv,
grouping = NULL,
drop = NULL,
survey_vector = c("auto", "likert-4", "likert-5", "likert-6", "likert-7", "manual",
"as_is"),
survey_vector_manual = NULL,
title = DV.pretty,
yblank = FALSE,
ordered = FALSE,
colorscale = NULL,
p.basesize = 10,
percentagelabel = FALSE,
theme.fontfamily = NULL,
wrap = 1000,
group.order = NULL
)
lazy_model |
the lazy model |
dv |
the name of the column containing the dependent variable. |
grouping |
(optional) one or more grouping IVs |
drop |
(optional) one or more of the IVs that should be dropped before plotting. |
survey_vector |
one of auto, likert-4, likert-5,likert-6, likert-7, as_is, or manual. If manual, you need to pass a survey_vector_manual |
survey_vector_manual |
if 'survey_vector' is 'manual', pass a fitting survey vector here |
title |
(optional) the title of theplot |
yblank |
(optional) if the y Axis should be blank. |
ordered |
(optional)if the plot should be ordered. |
colorscale |
(optional) the colorscale to use. |
p.basesize |
(optional) that base size of the plot |
percentagelabel |
(optional) if the percentage labels should be shown |
theme.fontfamily |
(optional) the font family to use |
wrap |
description |
group.order |
(optional) the group.order. If grouped, the order of the grouping. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.