re added nrow

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-08-29 16:35:32 +02:00
1 parent d9e68e0a50
commit d654444c8e
2 files changed
+9 -5

No files matched your search

+4 -2
View File
@@ -11,13 +11,13 @@
\usage{
ggplot_rsi(data, position = NULL, x = "Antibiotic",
fill = "Interpretation", facet = NULL, translate_ab = "official",
fun = portion_df, ...)
fun = portion_df, nrow = NULL, ...)
geom_rsi(position = NULL, x = c("Antibiotic", "Interpretation"),
fill = "Interpretation", translate_ab = "official",
fun = portion_df, ...)
facet_rsi(facet = c("Interpretation", "Antibiotic"))
facet_rsi(facet = c("Interpretation", "Antibiotic"), nrow = NULL)
scale_y_percent()
@@ -40,6 +40,8 @@ theme_rsi()
\item{fun}{function to transform \code{data}, either \code{\link{portion_df}} (default) or \code{\link{count_df}}}
\item{nrow}{(when using \code{facet}) number of rows}
\item{...}{other parameters passed on to \code{geom_rsi}}
}
\description{