logistic: Standard Logistic Function

Description Usage Arguments Details Value Examples

View source: R/utils.R

Description

Equivalent to stats::plogis() with default arguments.

Usage

1

Arguments

x

a numeric input

Details

The standard logistic function is defined as

p(x) = \frac{1}{1 + e^{-x}}.

We decided to write our own implementation instead of using the C/C++ powered stats::plogis() after benchmarking performance.

Value

a (0, 1)-ranged output of the same size as x

Examples

1

XiaoqiLu/ziclust documentation built on Dec. 18, 2021, 7:22 p.m.