dens2lqd: Function for converting densities to quantile functions

Description Usage Arguments Value References Examples

Description

Function for converting densities to quantile functions

Usage

1
dens2lqd(dens, dSup, N = length(dSup), lqSup = NULL)

Arguments

dens

density values on dSup - must be strictly positive and integrate to 1

dSup

support (grid) for Density domain

N

desired number of points on a [0,1] grid for quantile function; default length(dSup)

lqSup

support for LQ domain - must begin at 0 and end at 1; default [0,1] with N-equidistant support points

Value

lqd log quantile density on lqSup

References

Functional Data Analysis for Density Functions by Transformation to a Hilbert space, Alexander Petersen and Hans-Georg Mueller, 2015

Examples

1
2
3
x <- seq(0,2,length.out =512)
y <- rep(0.5,length.out =512)
yOnLQ <- dens2lqd( dens=y, dSup = x) # should equate # -log(1/2)

functionaldata/tDENS documentation built on May 16, 2019, 3:38 p.m.