1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 15:21:58 +02:00

(v0.9.0.9021) inheritance fix

This commit is contained in:
2020-02-10 12:25:02 +01:00
parent c7a76ba713
commit b4356a299c
19 changed files with 73 additions and 89 deletions

View File

@ -130,7 +130,7 @@ as.mic <- function(x, na.rm = FALSE) {
#' @export
#' @importFrom dplyr %>%
is.mic <- function(x) {
class(x) %>% identical(c("mic", "ordered", "factor"))
inherits(x, c("mic", "factor"))
}
#' @exportMethod as.double.mic