Create a horizontal bar chart

ggla_horizbar(
  ...,
  stat = "identity",
  position = "stack",
  to100 = FALSE,
  gla_theme = "default"
)

Arguments

...

other parameters to be passed to geom_bar

stat

The statistical transformation to use on the data for this layer, as a string, Default: "identity"

position

Position adjustment, either as a string, or the result of a call to a position adjustment function.

to100

boolean, If TRUE a context layer will be added below to bar chart up to 100, Default: FALSE

gla_theme

Either "default" or "inverse", Default: 'default'

See also

Examples

if (FALSE) { if(interactive()){ #EXAMPLE1 } }