#' min function, removing Inf and -Inf
#'
#' @keywords internal
minFixNA <- function(minputdata) {
minputdata[minputdata == Inf] <- NA
minputdata[minputdata == -Inf] <- NA
if (sum(!is.na(minputdata)) == 0) {
return(NA)
} else {
return(min(minputdata, na.rm = T))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.