An R package to analyze the parliamentary records of the 19th legislative period of the Bundestag, the German parliament.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 line
1.0KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/analyze.R
  3. \name{bar_plot_fractions}
  4. \alias{bar_plot_fractions}
  5. \title{Bar chart of the fractions}
  6. \usage{
  7. bar_plot_fractions(
  8. tb,
  9. x_variable = NULL,
  10. y_variable = NULL,
  11. fill = NULL,
  12. title = NULL,
  13. xlab = "Fraction",
  14. ylab = "n",
  15. filllab = "Fraction",
  16. flipped = TRUE,
  17. position = "dodge",
  18. reorder = FALSE
  19. )
  20. }
  21. \arguments{
  22. \item{tb}{The tibble to be analyzed.}
  23. \item{x_variable}{Default is fraction.}
  24. \item{y_variable}{Default is n.}
  25. \item{fill}{Default is fraction.}
  26. \item{title}{Title of the chart.}
  27. \item{xlab}{Description of x-Lab. Default is Fraction.}
  28. \item{ylab}{Description of y-Lab. Default is n.}
  29. \item{filllab}{Default is Fraction.}
  30. \item{flipped}{Default is TRUE. If TRUE draw bars horizontally, else vertically.}
  31. \item{position}{Default is dodge.}
  32. \item{reorder}{Either reorder fraction factor by variable value or reorder fraction factor by party seat order in parliament (default).}
  33. }
  34. \description{
  35. Bar chart of the fractions
  36. }