Skip to contents

This function applies the inverse logistic function to a vector, which maps the values of the vector to the range (0, 1).

Usage

phi_inverse(mu)

Arguments

mu

A numeric vector to transform using an inverse log ratio transformation.

Value

A numeric vector with values mapped to the range (0, 1) and a reference coordinate added.

Examples

phi_inverse(c(-5, 0, 5))
#> [1] 6.648057e-03 4.479425e-05 6.648057e-03 9.866591e-01