Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

logit

Logit and inverse logit functions


Description

Logit and inverse logit functions

Usage

logit(x)

ilogit(x)

Arguments

x

a numeric vector

Value

For logit the value is

log(x/(1 - x))

For ilogit the value is

exp(x)/(1 + exp(x))

Examples

p <- seq(.1, .9, by=.10)
l <- logit(p); l
ilogit(l)
ilogit(l) == p

mosaicCore

Common Utilities for Other MOSAIC-Family Packages

v0.9.0
GPL (>= 2)
Authors
Randall Pruim <rpruim@calvin.edu>, Daniel T. Kaplan <kaplan@macalester.edu>, Nicholas J. Horton <nhorton@amherst.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.