mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 20:41:58 +02:00
re added nrow
This commit is contained in:
@ -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{
|
||||
|
Reference in New Issue
Block a user