Plotting summarized data frames generated by rel_freq_data()
.
plot_rel_freq.Rd
Plotting summarized data frames generated by rel_freq_data()
.
Arguments
- data
Input
data.frame
(function is designed to work with data generated fromrel_freq_data()
).- x_var
Single
character
value indicating which variable is displayed on the x axis.- fill_var
Single
character
value indicating which variable is used to fill the plot (fill
argument inggplot()
).- facet_var
#' @param facet_var Single
character
value indicating which variable is used to facet the plot (viafacet_wrap()
) . Default isNULL
.- exclude_na
logical
value indicating whether to excludeNA
s in the plot (checks all variables indicated via other parameters). Default isFALSE
.