delta2a {PLordprob}R Documentation

Tresholds Mapping

Description

Functions to transform (and antitrasforms) the thresholds into an unconstrained space.

Usage

delta2a(delta)
a2delta(a)

Arguments

delta

a set of increaing thresholds

a

a vector (of size length(delta)-1) of threshold log-differences

Details

delta_k = log(a_k - a_k+1)

Value

A vector of tresholds or of tresholds log-differences

Author(s)

Euloge Clovis Kenne Pagui and Antonio Canale

Examples

thresh <- c(0,2,4)
logdiffs <- a2delta(thresh)

[Package PLordprob version 1.1 Index]