Skip to contents

Returns the transformation of 2^x.

Usage

exp2(x)

Arguments

x

An numeric atomic object.

Value

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

Examples

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