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


peterwmacd/multiness documentation built on Dec. 6, 2022, 12:59 a.m.