#' @name extremum
#' @title extremum
#' @author FĂ©licien Meunier
#' @export
#' @description Returns min and max
#' @param vector input vector
extremum <- function(vector){
return(c(min(vector,na.rm = TRUE),max(vector,na.rm = TRUE)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.