Learn R Programming

extras (version 0.7.3)

log<-: Log Transformation

Description

Replaces a object with the exponent of value.

Usage

log(x) <- value

Value

Called for the side effect of updating x.

Arguments

x

An object.

value

A numeric atomic object.

Details

A wrapper on exp(value).

See Also

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

Examples

Run this code
x <- NULL
log(x) <- 0.5
x

Run the code above in your browser using DataLab