powered by
Function for converting log quantile densities to quantile functions
lqd2quantile( lqd, lqdSup = seq(0, 1, length.out = length(lqd)), lb = 0, useSplines = TRUE )
quantile values on lqdSup
log quantile density on lqdSup
support for lqd domain - must begin at 0 and end at 1
lower bound of support for Density domain - default is 0.
fit spline to the lqd when doing the numerical integration (default: TRUE)
Functional Data Analysis for Density Functions by Transformation to a Hilbert space, Alexander Petersen and Hans-Georg Mueller, 2016
x <- seq(1,3,length.out =512) y.lqd <- rep(log(2), times = 512) y <- lqd2quantile(lqd = y.lqd, lb = 1) # should equate # seq(1, 3, length.out = 512)
Run the code above in your browser using DataLab