inv_logit {beastt}R 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)


[Package beastt version 0.0.3 Index]