Wavelet Methods in Statistics with R