add documentations
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/analyze.R
|
||||
\name{bar_plot_fractions}
|
||||
\alias{bar_plot_fractions}
|
||||
\title{Bar chart of the fractions}
|
||||
\usage{
|
||||
bar_plot_fractions(
|
||||
tb,
|
||||
x_variable = NULL,
|
||||
y_variable = NULL,
|
||||
fill = NULL,
|
||||
title = NULL,
|
||||
xlab = "Fraction",
|
||||
ylab = "n",
|
||||
filllab = "Fraction",
|
||||
flipped = TRUE,
|
||||
position = "dodge",
|
||||
reorder = FALSE
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{tb}{The tibble to be analyzed.}
|
||||
|
||||
\item{x_variable}{Default is fraction.}
|
||||
|
||||
\item{y_variable}{Default is n.}
|
||||
|
||||
\item{fill}{Default is fraction.}
|
||||
|
||||
\item{title}{Title of the chart.}
|
||||
|
||||
\item{xlab}{Description of x-Lab. Default is Fraction.}
|
||||
|
||||
\item{ylab}{Description of y-Lab. Default is n.}
|
||||
|
||||
\item{filllab}{Default is Fraction.}
|
||||
|
||||
\item{flipped}{Default is TRUE. If TRUE draw bars horizontally, else vertically.}
|
||||
|
||||
\item{position}{Default is dodge.}
|
||||
|
||||
\item{reorder}{Either reorder fraction factor by variable value or reorder fraction factor by party seat order in parliament (default).}
|
||||
}
|
||||
\description{
|
||||
Bar chart of the fractions
|
||||
}
|
||||
Reference in New Issue
Block a user