logit: Logit and inverse logit functions

View source: R/stats.R

logitR Documentation

Logit and inverse logit functions

Description

Logit and inverse logit functions

Usage

logit(x, shift = FALSE)

inv_logit(x, shift = FALSE)

Arguments

x

Probability or logit to transform

shift

Shift transformation such that the domain is between -1 and 1? Defaults to domain of 0 to 1.

Examples


logit(0.9)
inv_logit(2.197225)


PaulRegular/MSP documentation built on Dec. 16, 2024, 1:59 p.m.