amices / ggmice

Visualize incomplete and imputed data with the R package `ggmice`
http://amices.org/ggmice
GNU General Public License v3.0
31 stars 9 forks source link

More efficient code using `rlang::inherits_any()` #114

Open pepijnvink opened 1 year ago

pepijnvink commented 1 year ago

E.g. instead of if(is.matrix(x) | is.data.frame(x){ } use if(inherits_any(x, c("matrix", "DataFrame"))){ }

hanneoberman commented 9 months ago

Use this in #138