StackedBarplotCovid: Stacked Bar plot function

View source: R/plots.R

StackedBarplotCovidR Documentation

Stacked Bar plot function

Description

Stacked Bar plot function

Usage

StackedBarplotCovid(
  df,
  X,
  FILL,
  FACET,
  percent = FALSE,
  g_palette,
  position = "fill",
  title = ""
)

Arguments

df

data.frame data

X

character, variable name in X axis

FILL

character, variable name for position fill

FACET

character, variable name for the facets

percent

logical if TRUE then data and labels are in %

g_palette

character vector of colors for the graph

position

character position of bar plot, fill

title

character


miraisolutions/covid19-vaccination-ch documentation built on March 1, 2024, 11:15 a.m.