R/xpower.R

Defines functions xpower

Documented in xpower

#' raise a number to power
#'
#' Takes x and raise it to the power y
#' @param x A numeric value to be raised to power
#' @param y numeric value, the power
#' @return x power y
#' @export
xpower <- function(x, y){
  return(x^y)
}
HoussemGu/RPackage documentation built on May 22, 2019, 2:05 p.m.