expit: "Expit" transform, or the backwards logit transform.

Description Usage Arguments Details Author(s) See Also Examples

View source: R/expit.R

Description

Apply the standard backwards logit transform to a numeric vector of values.

Usage

1
expit(x)

Arguments

x

A numeric vector.

Details

The expit function simply applies the standard backwards logit transform to the provided numeric vector x: 1 / (1 + exp(-x)).

Author(s)

Leigh Ann Starcevich and Jason Mitchell of Western EcoSystems Technology, Inc.

See Also

TrendNPS::logit

Examples

1
2
3
4
5
x <- c(-0.8472979,-1.3862944,2.1972246)
y <- expit(x)

y
# 0.3 0.2 0.9

LAStarcevich/TrendNPS documentation built on May 21, 2019, 9:19 a.m.