% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create_bar_asis.R \name{create_bar_asis} \alias{create_bar_asis} \title{Create a bar chart without aggregation} \usage{ create_bar_asis( data, group_var, bar_var, title = NULL, subtitle = NULL, caption = NULL, ylab = group_var, xlab = bar_var, percent = FALSE, bar_colour = "default" ) } \arguments{ \item{data}{Plotting data as a data frame.} \item{group_var}{String containing name of variable for the group.} \item{bar_var}{String containing name of variable representing the value of the bars.} \item{title}{Title of the plot.} \item{subtitle}{Subtitle of the plot.} \item{caption}{Caption of the plot.} \item{ylab}{Y-axis label for the plot (group axis)} \item{xlab}{X-axis label of the plot (bar axis).} \item{percent}{Logical value to determine whether to show labels as percentage signs. Defaults to FALSE.} \item{bar_colour}{String to specify colour to use for bars. In-built accepted values include "default" (default), "alert" (red), and "darkblue". Otherwise, hex codes are also accepted. You can also supply RGB values via \code{rgb2hex()}.} } \description{ This function creates a bar chart directly from the aggregated / summarised data. Unlike \code{create_bar()} which performs a person-level aggregation, there is no calculation for \code{create_bar_asis()} and the values are rendered as they are passed into the function. } \seealso{ Other General: \code{\link{create_bar}()}, \code{\link{create_boxplot}()}, \code{\link{create_dist}()}, \code{\link{create_fizz}()}, \code{\link{create_line_asis}()}, \code{\link{create_line}()}, \code{\link{create_period_scatter}()}, \code{\link{create_rank}()}, \code{\link{create_scatter}()}, \code{\link{create_stacked}()}, \code{\link{cut_hour}()}, \code{\link{extract_hr}()}, \code{\link{hrvar_count}()}, \code{\link{identify_outlier}()} } \concept{General}