which_NA <- function(x) {
ans <- .Call("Cwhich_isna", x, FALSE, 1L, PACKAGE = packageName)
if (is.null(ans)) {
return(seq_along(x))
}
ans
}
which_notNA <- function(x) {
ans <- .Call("Cwhich_isna", x, TRUE, 1L, PACKAGE = packageName)
if (is.null(ans)) {
return(seq_along(x))
}
ans
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.