Returns the transformation of 2^x.

exp2(x)

Arguments

x

An numeric atomic object.

Value

A numeric atomic object with the value of 2^x.

See also

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

Examples

x <- c(5, 10.5)
exp2(x)
#> [1]   32.000 1448.155