(v1.5.0.9010) MDRO vignette update, get_episode for < day

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-01-24 14:48:56 +01:00
1 parent 1a88caa119
commit 286eaa9699
52 files changed
+319 -210

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@
#' }
availability <- function(tbl, width = NULL) {
meet_criteria(tbl, allow_class = "data.frame")
meet_criteria(width, allow_class = "numeric", allow_NULL = TRUE)
meet_criteria(width, allow_class = c("numeric", "integer"), has_length = 1, allow_NULL = TRUE, is_positive = TRUE, is_finite = TRUE)
x <- vapply(FUN.VALUE = double(1), tbl, function(x) {
1 - sum(is.na(x)) / length(x)