invlogit: Compute the inverse log-odds

View source: R/helper_functions.R

invlogitR Documentation

Compute the inverse log-odds

Description

Compute the inverse log-odds

Usage

invlogit(x)

Arguments

x

scalar or vector for which to compute the (componentwise) inverse log-odds

Value

A scalar or vector of values in (0,1)

Examples

x = seq(-5, 5, length.out = 10^3)
plot(x, invlogit(x))

drkowal/rSTAR documentation built on July 5, 2023, 2:18 p.m.