Learn R Programming

kader (version 0.0.8)

J_admissible: Admissible Rank Transformations of Eichner & Stute (2013)

Description

This is just a wrapper for the functions J1, J2, and \(u -> \sqrt 3 * (2u - 1)\) which implement the admissible transformations for the three cases for \(c\). For mathematical details see eq. (15.16) and (15.17) in Eichner (2017) and/or Eichner & Stute (2013).

Usage

J_admissible(u, cc = sqrt(5))

Arguments

u

Numeric vector.

cc

Numeric constant, defaults to \(\sqrt 5\).

Value

Vector of same length and mode as u.

Details

Basically, for cc in \([\sqrt(5/3), \sqrt 5]\):

J_admissible(u, cc) = J1(u, cc) if cc \(< \sqrt 3\),

J_admissible(u, cc) = J2(u, cc) if cc \(> \sqrt 3\), and

J_admissible(u, cc) = sqrt(3) * (2*u - 1) if cc \(= \sqrt 3\).

See Also

J1 and J2.

Examples

Run this code
# NOT RUN {
par(mfrow = c(1, 2), mar = c(3, 3, 0.5, 0.5), mgp = c(1.7, 0.7, 0))
example(J1)
example(J2)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab