logit: Implements a logistic transform.

invLogitR Documentation

Implements a logistic transform.

Description

Provided a vector or numeric changes it into a vector on 0-1 using the invLogit transform.

Usage

invLogit(x)

Arguments

x

vector of numbers for which the transform is required.

Author(s)

C. Jessica E. Metcalf, Sean M. McMahon, Roberto Salguero-Gomez, Eelke Jongejans & Cory Merow.

Examples

x <- rnorm(100)
plot(sort(x), invLogit(sort(x)), type = "l", xlab = "State x", ylab = 
"Transformed state x", col = "dark gray")

wpetry/IPMpack2 documentation built on Sept. 29, 2022, 9:41 a.m.