Learn R Programming

extras (version 0.2.0)

log<-: Log Transformation

Description

Replaces a object with the exponent of value.

Usage

log(x) <- value

Arguments

x

An existing R object.

value

A numeric atomic object.

Value

Called for the side effect of updating x.

Details

A wrapper on exp(value).

See Also

Other translations: fabs(), ilogit(), invlogit(), logit<-(), logit(), phi(), pow()

Examples

Run this code
# NOT RUN {
x <- NULL
log(x) <- 0.5
x
# }

Run the code above in your browser using DataLab