Learn R Programming

extras (version 0.6.1)

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 existing R object.

value

A numeric atomic object.

Details

A wrapper on exp(value).

See Also

Other translations: fabs(), ilogit(), ilog(), inv_logit(), invlogit(), 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