delta2a: Tresholds Mapping

Description Usage Arguments Details Value Author(s) Examples

View source: R/delta2a.R

Description

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

Usage

1
2
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

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

Example output

Loading required package: mnormt

PLordprob documentation built on May 2, 2019, 4:03 p.m.