LogitScale {SALTSampler}R Documentation

Finds logit(sp)

Description

For x=logit(p) and l=log(s), this function returns logit(sp).

Usage

LogitScale(x, l)

Arguments

x

Logit(p) where p is a vector of probabilities

l

Exp(s) where 0 \leq s \leq 1/\sum p_i to produce a well-defined return value.

Examples

#Calculates logit(xl) for p = (0.4, 0.3):
#x = (Logit(0.4), Logit(0.3)) and l = 0.7
LogitScale(x = Logit(c(0.4, 0.3)), l = 0.7)

[Package SALTSampler version 1.1.0 Index]