draw.wst             package:wavethresh             R Documentation

_D_r_a_w _m_o_t_h_e_r _w_a_v_e_l_e_t _o_r _s_c_a_l_i_n_g _f_u_n_c_t_i_o_n _a_s_s_o_c_i_a_t_e_d _w_i_t_h _w_s_t _o_b_j_e_c_t.

_D_e_s_c_r_i_p_t_i_o_n:

     This function draws the mother wavelet or scaling function
     associated with a  'wst.object'.

_U_s_a_g_e:

     draw.wst(wst, ...)

_A_r_g_u_m_e_n_t_s:

     wst: The 'wst' class object whose associated wavelet or scaling
          function you wish to draw. 

     ...: Additional arguments to pass to the 'draw.default' function
          which does the drawing. In particular, arguments can be set
          to choose between drawing the mother wavelet and scaling
          function, to set the resolution of the plot, to choose
          between drawing one and two dimensional pictures. 

_D_e_t_a_i_l_s:

     This function extracts the 'filter' component from the 'wst'
     object (which is constructed using the 'filter.select' function)
     to decide which wavelet packet family to draw. Once decided the
     'draw.default' function is used to actually do the drawing.

_V_a_l_u_e:

     If the 'plot.it' argument is set to 'TRUE' then nothing is
     returned. Otherwise, Otherwise, as with 'draw.default', the
     coordinates of what would have been plotted are returned.

_R_E_L_E_A_S_E:

     Version 3.6 Copyright Guy Nason 1995

_S_e_e _A_l_s_o:

     'filter.select', 'wst.object', 'draw.default'.

_E_x_a_m_p_l_e_s:

     #
     # Generate some test data
     #
     #test.data <- example.1()$y
     #ts.plot(test.data)
     #
     # Now do the this-is-escaped-codenormal-bracket43bracket-normal  of the data using the Daubechies
     # least-asymmetric wavelet N=10 (the default arguments in this-is-escaped-codenormal-bracket45bracket-normal).
     #
     #tdwst <- wst(test.data)
     #
     # What happens if we try to draw this new tdwst object?
     #
     #draw(tdwst)
     #
     # We get a picture of the wavelet that did the transform
     #

