R/twice.R

Defines functions twice

Documented in twice

#' Multiply by Two
#'
#' This function multiplies x by 2.
#'
#' @param x a number.
#'
#' @return
#' A number, two times the value of x.
#'
#' @author
#' Arni Magnusson
#'
#' @seealso
#' \link{Arithmetic}, \code{\link{half}}.
#'
#' @examples
#' twice(10)
#'
#' twice(pi)
#'
#' @export

twice <- function(x)
{
  2*x
}
arnima-github/biometry2 documentation built on May 26, 2019, 6:44 p.m.