expit: expit

View source: R/make_prior_object_functions.R

expitR 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))


makemyprior documentation built on Sept. 11, 2024, 6:56 p.m.