R/pow.R

Defines functions pow

Documented in pow

#' Potegowanie
#'
#' Wartosc x jest potegowana do potegi y.
#'
#' @param x Wartość numeryczna
#' @param y Wartość numeryczna (potęga)
#'
#' @return Wartość numeryczna
#' @export
#'
#' @examples
#'
#' pow(2, 2)
#' pow(2, 3)
#'
pow = function(x, y){
  x^y
}
Nowosad/mojpakiet documentation built on Oct. 30, 2019, 10:17 p.m.