Skip to content

Commit

Permalink
Merge pull request #163 from uclahs-cds/jarbet-barplot-help-page
Browse files Browse the repository at this point in the history
update barplot documentation for plot.horizontal
  • Loading branch information
dan-knight authored Jun 27, 2024
2 parents 4880416 + 886bedf commit a74831f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/create.barplot.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ create.barplot(
\item{col}{Filling colour of bars, defaults to black, does a grey-scale spectrum if !is.null(groups)}
\item{border.col}{Specify border colour (defaults to black)}
\item{border.lwd}{Specify border width (defaults to 1)}
\item{plot.horizontal}{Plot the bars horizontally}
\item{plot.horizontal}{Plot the bars horizontally. Note if \code{disable.factor.sorting = TRUE}, then the top row of \code{data} is the bottom row of the plot, i.e. bars are filled in from the bottom to the top of the plot. To make the barplot rows match the input data rows, make sure the y-axis variable is a factor, and do \code{data = data[nrow(data):1,]}}
\item{background.col}{Plot background colour, defaults to transparent}
\item{origin}{The origin of the plot, generally 0}
\item{reference}{Should the reference line be printed at the origin}
Expand Down

0 comments on commit a74831f

Please sign in to comment.