Skip to contents

Maps the stan function so the same code works in R.

Usage

inv_logit(x)

Arguments

x

value to calculate the inverse logit for.

Value

1 / (1 + exp(-x)), elementwise.

Examples

inv_logit(-3)