See first.last to see what this kind of function does.
first.last.dh(LengthH, DataLength, type = "wavelet", bc = "periodic",
firstk = c(0, DataLength - 1))wavelet or station
for decimated and nondecimated transforms respectively.periodic or symmetricfirst.last.dencvwd,first.last,wd.dh