threshld            package:EbayesThresh            R Documentation

_T_h_r_e_s_h_o_l_d _d_a_t_a _w_i_t_h _h_a_r_d _o_r _s_o_f_t _t_h_r_e_s_h_o_l_d_i_n_g

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

     Given a data value or a vector of data, threshold the data at a
     specified value, using hard or soft thresholding

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

     threshld(x, t, hard = TRUE)

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

       x: a data value or a vector of data 

       t: value of threshold to be used

    hard: specifies whether hard or soft thresholding is applied

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

     A value or vector of values the same length as 'x', containing the
     result of the relevant thresholding rule applied to 'x'.

_A_u_t_h_o_r(_s):

     Bernard Silverman

_R_e_f_e_r_e_n_c_e_s:

     See 'ebayesthresh' and <URL: http://www.bernardsilverman.com>

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

     'ebayesthresh'

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

     threshld(-5:5, 1.4, FALSE)

