mwd                package:wavethresh                R Documentation

_D_i_s_c_r_e_t_e _m_u_l_t_i_p_l_e _w_a_v_e_l_e_t _t_r_a_n_s_f_o_r_m (_d_e_c_o_m_p_o_s_i_t_i_o_n).

_D_e_s_c_r_i_p_t_i_o_n:

     This function performs the discrete multiple wavelet transform
     (DMWT). Using an adaption of Mallat's pyramidal algorithm. The
     DMWT gives vector wavelet coefficients.

_U_s_a_g_e:

     mwd(data, prefilter.type = "default", filter.type = "Geronimo",
             bc ="periodic", verbose = FALSE)

_A_r_g_u_m_e_n_t_s:

    data: A vector containing the data you wish to decompose. The
          length of this vector must be a power of 2 times the
          dimension of the DMWT (multiplicity of wavelets).

prefilter.type: This chooses the method of preprocessing required. The
          arguments will depend on filter.type, but "default" will
          always work.

filter.type: Specifies which multi wavelet filter to use, The options
          are "'Geronimo'" (dimension 2) or "'Donovan3'" (dimension 3).
          The latter has not been tested fully and may contain bugs.
          See the function 'mfilter.select' for further details.

      bc: specifies the boundary handling. If 'bc=="periodic"' the
          default, then the function you decompose is assumed to be
          periodic on its interval of definition, if 'bc=="symmetric"'
          then the function beyond its boundaries is assumed to be a
          symmetric reflection of the function in the boundary.

 verbose: Controls the printing of "informative" messages whilst the
          computations progress. Such messages are generally annoying
          so it is turned off by default.

_D_e_t_a_i_l_s:

     The code implements Mallat's pyramid algorithm adapted for
     multiple wavelets using Xia, Geronimo, Hardin and Suter, 1996. The
     method takes a data vector of length '2^J*M', and preprocesses it.
     This has two effects, firstly it puts the data into matrix form
     and then filters it so that the DMWT can operate more efficiently
     Most of the technical details are similar to the single wavelet
     transform except for the matrix algebra considerations, and the
     prefiltering process. See Downie and Silverman (1998) for further
     details and how this transform can be used in a statistical
     context.

_V_a_l_u_e:

     An object of class 'mwd'.

_R_E_L_E_A_S_E:

     Version 3.9.6 (Although Copyright Tim Downie 1996)

_S_e_e _A_l_s_o:

     'accessC.mwd', 'accessD.mwd', 'draw.mwd', 'mfirst.last',
     'mfilter.select', 'mwd.object', 'mwr', 'plot.mwd', 'print.mwd',
     'putC.mwd', 'putD.mwd', 'summary.mwd', 'threshold.mwd', 'wd',
     'wr.mwd'.

_E_x_a_m_p_l_e_s:

     #
     # Generate some test data
     #
     #test.data <- example.1()$y
     #ts.plot(test.data)
     #
     # Decompose test.data with multiple wavelet transform and
     # plot the wavelet coefficients
     #
     #tdmwd <- mwd(test.data)
     #plot(tdmwd)
     #[1] 1.851894 1.851894 1.851894 1.851894 1.851894 1.851894 1.851894
     #
     # You should see a plot with wavelet coefficients like in
     #this-is-escaped-codenormal-bracket62bracket-normal but at each coefficient position
     # there are two coefficients in two different colours one for each of
     # the wavelets at that position.
     #
     # Note the scale for each level is returned by the function.

