logit: Compute the logit or anti-logit

View source: R/utility_functions.R

logitR Documentation

Compute the logit or anti-logit

Description

Compute the logit or anti-logit

Usage

logit(x)

alogit(x)

Arguments

x

A number. For logit, a probability (between 0 and 1, inclusive). For alogit, any real number.

Value

logit: The logit of x.

alogit: The anti-logit of x.

Examples

  logit(0.5)

  alogit(0)


ddalthorp/GenEst documentation built on June 4, 2023, 1 a.m.