#' @title One Argument
#' @description Does the function have just one argument?
#'
#' @param f a function.
#'
#' @author Eric Archer \email{eric.archer@@noaa.gov}
#'
#' @examples
#' one.arg(mean)
#' one.arg(one.arg)
#'
#' @export
#'
one.arg <- function(f) length(formals(f)) == 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.