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)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(PLordprob)
Loading required package: mnormt
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/PLordprob/delta2a.Rd_%03d_medium.png", width=480, height=480)
> ### Name: delta2a
> ### Title: Tresholds Mapping
> ### Aliases: delta2a a2delta
>
> ### ** Examples
>
> thresh <- c(0,2,4)
> logdiffs <- a2delta(thresh)
>
>
>
>
>
> dev.off()
null device
1
>