Remove rows for which either x or y is NA
ignore.na <- function(d,...){ not.na <- is.finite(d$x) if("y"%in% names(d)){ not.na <- not.na & is.finite(d$y) } d[not.na,] }
Please contact Toby Dylan Hocking if you are using directlabels or have ideas to contribute, thanks! |
Documentation website generated from source code version 2021.2.24 (git revision bb6db07 Mon, 14 Jun 2021 22:38:45 +0530) using inlinedocs. |
validate |