#' Convert Zeros to NA
#'
#' @param df dataframe
#'
#' @export
convert_zeros <- function(df){
df <- dplyr::mutate_if(df, is.numeric, ~ ifelse((is.finite(.) & . !=0), ., NA))
return(df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.