#' my_mean
#'
#' @param x a vector
#'
#' @export
#' @importFrom magrittr %>%
#' @examples
#' # example code
#' library(utils)
#' data("fruit", package = "stringr")
my_mean <- function(x){
x <- x %>% stats::na.omit()
1+1
sum(x)/base::length(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.