(v1.2.0.9008) ab_class improvement

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-06-17 15:14:37 +02:00
1 parent c4d7412f36
commit ac12392da3
37 files changed
+619 -362

No files matched your search

+2 -2
View File
@@ -316,9 +316,9 @@ plot.resistance_predict <- function(x, main = paste("Resistance Prediction of",
}
# get plot() generic; this was moved from the 'graphics' pkg to the 'base' pkg in R 4.0.0
if (as.integer(R.Version()$major) >= 4) {
plot <- get("plot", envir = asNamespace("base"))
plot <- import_fn("plot", "base")
} else {
plot <- get("plot", envir = asNamespace("graphics"))
plot <- import_fn("plot", "graphics")
}
plot(x = x$year,
y = x$value,