powered by
Function for converting densities to log quantile density functions
dens2lqd(dens, dSup, N = length(dSup), lqdSup = NULL)
lqd log quantile density on lqdSup
density values on dSup - must be strictly positive and integrate to 1
support (grid) for Density domain
desired number of points on a [0,1] grid for lqd function; default length(dSup)
support for lqd domain - must begin at 0 and end at 1; default [0,1] with N-equidistant support points
Functional Data Analysis for Density Functions by Transformation to a Hilbert space, Alexander Petersen and Hans-Georg Mueller, 2016
normaliseDensities
x <- seq(0,2,length.out =512) y <- rep(0.5,length.out =512) y.lqd <- dens2lqd( dens=y, dSup = x) # should equate # log(2)
Run the code above in your browser using DataLab