mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 15:01:51 +02:00
(v1.2.0.9008) ab_class improvement
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user