#' Fill NA values
#'
#' Fills NA values with the given plug value
#'
#' @param x value to check for NA
#' @param y value to plug in place if x is NA
#' @export
FillNA<- function(x,y){
ifelse(is.na(x),y,x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.