logit: Logistic link function

View source: R/utils.R

logitR Documentation

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


multiness documentation built on Nov. 25, 2022, 9:08 a.m.