Description Usage Arguments Value See Also
Titled according to its first use, this function plots the frequency of primary_col stacked by secondary_col.
1 2 | understanding_by_awareness(df, title_string, legend_string, color_vec,
legend_position = c(0.06, 0.94), drop_na = TRUE)
|
df |
dataframe, must include columns named primary_col and seconary_col; intended to be the output of |
title_string |
string, titles plot. |
legend_string |
string, titles legend. |
color_vec |
vector, strings labelling each factor of secondary_col. |
legend_position |
vector, two numeric elements, where the legend goes. |
drop_na |
logical, whether to drop missing values. |
A plotly vertical bar plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.