mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 04:20:53 +01:00
cleanup
This commit is contained in:
1 parent
8df1cd8d97
commit
66eeeb4b88
6 files changed
+15
-11
No files matched your search
@@ -70,7 +70,7 @@
|
||||
#' # interpret whole data set, pretend to be all from urinary tract infections:
|
||||
#' as.sir(df, uti = TRUE)
|
||||
as.disk <- function(x, na.rm = FALSE) {
|
||||
meet_criteria(x, allow_class = c("disk", "character", "numeric", "integer"), allow_NA = TRUE)
|
||||
meet_criteria(x, allow_NA = TRUE)
|
||||
meet_criteria(na.rm, allow_class = "logical", has_length = 1)
|
||||
|
||||
if (!is.disk(x)) {
|
||||
|
||||
Reference in new issue
Block a user