(v2.1.1.9095) Python support

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-10-15 17:12:55 +02:00
1 parent 94501371cd
commit 5c4d8fcd2a
18 files changed
+513 -435

No files matched your search

+2 -1
View File
@@ -193,7 +193,8 @@ ggplot_sir <- function(data,
y.title = "Proportion",
...) {
stop_ifnot_installed("ggplot2")
meet_criteria(data, allow_class = "data.frame", contains_column_class = c("sir", "rsi"))
meet_criteria(data, allow_class = "data.frame")
data <- ascertain_sir_classes(data, "data")
meet_criteria(position, allow_class = "character", has_length = 1, is_in = c("fill", "stack", "dodge"), allow_NULL = TRUE)
meet_criteria(x, allow_class = "character", has_length = 1)
meet_criteria(fill, allow_class = "character", has_length = 1)