#' @title Mean with NA value
#' @description Na omit
#' @param x x Vactor
#' @return Mean
#' @details dsdddas
#' @examples
#' \dontrun{
#' if(interactive()){
#' mean0(c(1,2,3,NA))
#' }
#' }
#' @rdname mean0
#' @export
mean0 <- function(x){
mean(x, na.rm=T)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.