expit {makemyprior}R Documentation

expit

Description

Calculates inverse logit, exp(x)/(1+exp(x)) = 1/(1+exp(-x))

Usage

expit(x)

Arguments

x

Real number, or vector of reals

Value

expit value

Examples

expit(2)
expit(seq(-5, 5, 1))


[Package makemyprior version 1.2.1 Index]