#' Is vector empty or all NA values.
#'
## Copyright(c) 2017-2020 R. Mark Sharp
## This file is part of nprcgenekeepr
#'
#' @return \code{TRUE} if x is a zero-length vector else \code{FALSE}.
#'
#' @param x vector of any type.
isEmpty <- function(x) {
x <- x[!is.na(x)]
return(length(x) == 0)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.