logit: logit function

View source: R/logit_antilogit.R

logitR Documentation

logit function

Description

This function calculates the logit for the object 'p' (range 0 to 1), returning the corresponding values (range -Inf to Inf).

Usage

logit(p)

Arguments

p

A numeric vector, matrix, or array of proportions

Value

Object of the same dimensions as p

Examples

p <- runif(20, 0, 1)
logit(p)

Sz-Tim/sevcheck documentation built on Feb. 1, 2024, 12:39 a.m.