inv_logit: Inverse Logit Function

View source: R/binary-sim.R

inv_logitR Documentation

Inverse Logit Function

Description

Inverse Logit Function

Usage

inv_logit(x)

Arguments

x

Real number(s) to take the inverse logit of

Details

This function is a short hand to \exp(x)/(1 + \exp(x)).

Value

Vector of probabilities between 0 and 1

Examples

inv_logit(0.5)


beastt documentation built on June 8, 2025, 11:42 a.m.