logit: logit

View source: R/make_prior_object_functions.R

logitR Documentation

logit

Description

Calculates logit, log(x/(1-x)) = log(x) - log(1-x)

Usage

logit(x)

Arguments

x

Value between 0 and 1, or vector of such values

Value

logit value

Examples

logit(0.5)
logit(seq(0, 1, 0.1))


makemyprior documentation built on Sept. 11, 2024, 6:56 p.m.