putC.wst             package:wavethresh             R Documentation

_P_u_t_s _a _w_h_o_l_e _r_e_s_o_l_u_t_i_o_n _l_e_v_e_l _o_f _f_a_t_h_e_r _w_a_v_e_l_e_t _c_o_e_f_f_i_e_n_t_s _i_n_t_o _w_s_t _w_a_v_e_l_e_t _o_b_j_e_c_t.

_D_e_s_c_r_i_p_t_i_o_n:

     Makes a copy of the 'wst' object, replaces a whole resolution
     level of father wavelet coefficients data in the copy, and then
     returns the copy.

_U_s_a_g_e:

     putC.wst(wst, level, value, ...)

_A_r_g_u_m_e_n_t_s:

     wst: Packet-ordered non-decimated wavelet object into which you
          wish to insert the father wavelet coefficients.

   level: the resolution level at which you wish to replace the father
          wavelet coefficients.

   value: the replacement data, this should be of the correct length.

     ...: any other arguments

_D_e_t_a_i_l_s:

     The function 'accessC.wst' obtains the father wavelet coefficients
     for a particular level. The function 'putC.wst' replaces father
     wavelet coefficients at a particular resolution level and returns
     a modified wst object reflecting the change. 

     For the non-decimated wavelet transforms the number of
     coefficients at each resolution level is the same and equal to
     '2^nlevels' where 'nlevels' is the number of levels in the 'wst
     object'. The number of coefficients at each resolution level is
     also, of course, the number of data points used to initially form
     the 'wst' object in the first place. 

     Use the 'accessC.wst' to extract whole resolution levels of father
     wavelet coefficients. Use 'accessD.wst' and 'putD.wst' to
     extract/insert whole resolution levels of mother wavelet
     coefficients. Use the 'getpacket.wst' and 'putpacket.wst'
     functions to extract/insert packets of coefficients into a
     packet-ordered non-decimated wavelet object.

_V_a_l_u_e:

     A 'wst' class object containing the modified father wavelet
     coefficients

_R_E_L_E_A_S_E:

     Version 3.5.3 Copyright Guy Nason 1994

_S_e_e _A_l_s_o:

     'wst.object', 'wst', 'putC', 'accessD.wst', 'putD.wst',
     'getpacket.wst', 'putpacket.wst'.

_E_x_a_m_p_l_e_s:

     #
     # Generate an EMPTY wst object:
     #
     #zero <- rep(0, 16)
     #zerowst <- wst(zero)
     #
     # Put some random father wavelet coefficients into the object at
     # resolution level 2. For the non-decimated wavelet transform there
     # are always 16 coefficients at every resolution level. 
     #
     #mod.zerowst <- putC( zerowst, level=2, v=rnorm(16))
     #
     # If you use accessC  on mod.zerowd you would see that there were only
     # coefficients at resolution level 2 where you just put the coefficients.

