1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 23:21:56 +02:00

filter_ab_class fix

This commit is contained in:
2019-03-06 09:32:48 +01:00
parent 74e0ae21fd
commit 5c7a061a5d
6 changed files with 137 additions and 93 deletions

View File

@ -54,7 +54,7 @@ filter_tetracyclines(tbl, result = NULL, scope = "any", ...)
Filter on specific antibiotic variables based on their class (ATC groups).
}
\details{
The \code{\code{antibiotics}} data set will be searched for \code{ab_class} in the columns \code{atc_group1} and \code{atc_group2} (case-insensitive). Next, \code{tbl} will be checked for column names with a value in any abbreviations, codes or official names found in the \code{antibiotics} data set.
The \code{\link{antibiotics}} data set will be searched for \code{ab_class} in the columns \code{atc_group1} and \code{atc_group2} (case-insensitive). Next, \code{tbl} will be checked for column names with a value in any abbreviations, codes or official names found in the \code{antibiotics} data set.
}
\examples{
library(dplyr)
@ -80,3 +80,5 @@ septic_patients \%>\%
filter_aminoglycosides("R", "any") \%>\%
filter_fluoroquinolones("R", "any")
}
\keyword{fillter_class}
\keyword{filter}