expit: sigmoid

Description Usage Arguments Value

View source: R/code.R

Description

function for comuting sigmoid

Usage

1
expit(x)

Arguments

x

a numeric or complex vector.

Value

A vector of the same length as x containing the transformed values. expit(-Inf)=0 and expit(Inf)=1.


kgolmakani/cRisk documentation built on May 4, 2019, 6:30 a.m.