ggla_horizbar: ggla_horizbar

Description Usage Arguments See Also Examples

View source: R/ggla_horizbar.R

Description

Create a horizontal bar chart

Usage

1
2
3
4
5
6
7
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

geom_bar

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

Greater-London-Authority/gglaplot documentation built on Dec. 28, 2021, 8:27 p.m.