intervals {adlift} | R Documentation |
intervals
Description
This function constructs the intervals around the grid values to be used as scaling integrals during the transform
Usage
intervals(X, initboundhandl)
Arguments
X |
The vector of gridpoints. |
initboundhandl |
the interval construction at the boundary. Takes the value |
Details
The function constructs the intervals by sorting the observed gridpoints. The endpoints of the intervals are found as the midpoints between consecutive (sorted) gridpoints. In this way the intervals are not necessarily centered around the gridpoints. The first and last intervals are then modified according to initboundhandl (see above). These intervals represent the support of the initial scaling functions associated to each gridpoint.
Value
intervals |
a vector of length ( |
order |
|
Author(s)
Matt Nunes (nunesrpackages@gmail.com), Marina Knight
See Also
Examples
x2<-runif(50)
x2
#
intervals(x2,"reflect")
#
#check that the gridpoints are between the interval vector entries...
#