R equivalent to the power function.

pow(x, n)

Arguments

x

A numeric atomic object of the base.

n

A numeric atomic object of the exponent.

Value

A numeric atomic object of x raised to n.

Details

Wrapper on x^n.

See also

Other translations: exp10(), exp2(), fabs(), ilog10(), ilog2(), ilogit(), ilog(), inv_logit(), invlogit(), log10<-(), log2<-(), log<-(), logit<-(), logit(), phi(), step()

Examples

pow(10, 2)
#> [1] 100