expit: Expit scale transformation

Description Usage Arguments Value

View source: R/summaryFcns.R

Description

Also known as the "inverse logit", this is an internal function to transform real line values to logit scale values (i.e., (0,1)). expit(x) is defined as e^x / (1 + e^x) for any real value.

Usage

1
expit(x)

Arguments

x

A vector of real values.

Value

A vector of real values, the same length as the input.


sanoke/hetviz documentation built on March 4, 2020, 7:58 a.m.