`nan2na` <- function(x) { if(!is.null(x)) { result <- x result[!is.finite(result)] <- NA } else result <- NULL return(result) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.