#' ifnullNA
#'
#' Convert data from NULL to NA using an ifelse approach
#' @param x The data you want to convert
#' @export
ifnullNA <- function(x) {
z <- ifelse(is.null(x),NA,x)
return(z)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.