logit: logit: function for logit calculation

View source: R/logit.R

logitR Documentation

logit: function for logit calculation

Description

logit: function for logit calculation

Usage

logit(input)

Arguments

input

vector of value(s) consisting of proportions 'p' between 0 and 1

Value

Returns value(s) between negative infinity and infinity

Examples

# taking the logit of any proportion between 0 and 1
logit(0.4)
# taking the logit of a vector of proportions 
logit(c(0.1, 0.2, 0.9))

statdivlab/happi documentation built on April 19, 2024, 2:04 a.m.