More efficient code using `rlang::inherits_any()`
pepijnvink opened this issue · comments
E.g. instead of
if(is.matrix(x) | is.data.frame(x){ }
use
if(inherits_any(x, c("matrix", "DataFrame"))){ }
Use this in #138
Visualize incomplete and imputed data with the R package `ggmice`
pepijnvink opened this issue · comments
E.g. instead of
if(is.matrix(x) | is.data.frame(x){ }
use
if(inherits_any(x, c("matrix", "DataFrame"))){ }
Use this in #138