Learn R Programming

isdals (version 3.0.0)

logit: Calculate the logit transform

Description

Calculate the logit transform

Usage

logit(p)

Value

Calculates the logit transform of p

Arguments

p

numeric vector

Author

Claus Ekstrom <ekstrom@life.ku.dk>

Details

Calculates the logit transform of p, ie., log(p/(1-p))

Examples

Run this code
p <- 0.3
logit(p)

Run the code above in your browser using DataLab