Learn R Programming

ddtlcm (version 0.2.1)

log_expit: Numerically accurately compute f(x) = log(x / (1/x)).

Description

Numerically accurately compute f(x) = log(x / (1/x)).

Usage

log_expit(x)

Value

a number or real-valued vector

Arguments

x

a value or a numeric vector between 0 and 1 (exclusive)