Learn R Programming

extras (version 0.7.3)

exp2: Exponential Transformation of Base 2

Description

Returns the transformation of 2^x.

Usage

exp2(x)

Value

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

Arguments

x

An numeric atomic object.

See Also

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

Examples

Run this code
x <- c(5, 10.5)
exp2(x)

Run the code above in your browser using DataLab