link {epiphy}R Documentation

Some link functions.

Description

Logit, probit and cloglog functions are available. The logit and the logistic (with rev = TRUE), i.e. the inverse-logit functions. Probit is a wrapper around qnorm (for probit) and pnorm (for probit^{-1}) Complementary log-log transformation.

Usage

logit(x, rev = FALSE)

probit(x, rev = FALSE)

cloglog(x, rev = FALSE)

Arguments

x

A numeric vector.

rev

The inverse of the function?

Value

A numeric vector.


[Package epiphy version 0.5.0 Index]