log2-set: Log Base 2 Transformation

log2<-R Documentation

Log Base 2 Transformation

Description

Replaces a object with the base 2 exponent of value.

Usage

log2(x) <- value

Arguments

x

An object.

value

A numeric atomic object.

Details

A wrapper on exp2(value).

Value

Called for the side effect of updating x.

See Also

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

Examples

x <- NULL
log2(x) <- c(0.5, 5)
x

poissonconsulting/extras documentation built on Jan. 18, 2024, 1:18 a.m.