Learn R Programming

miniLNM (version 0.1.0)

phi_inverse: Inverse log ratio transformation

Description

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)

Value

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

Arguments

mu

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

Examples

Run this code
phi_inverse(c(-5, 0, 5))

Run the code above in your browser using DataLab