Learn R Programming

multiness (version 1.0.2)

logit: Logistic link function

Description

logit applies the logistic link function \(f(x) = log(x / (1-x))\).

Usage

logit(x,tol=1e-6)

Arguments

x

A numeric vector with values in the interval [0,1].

tol

A positive scalar which bounds the entries of x away from 0 and 1 for numerical stability. Defaults to tol=1e-6