normalize                package:boot                R Documentation

_N_o_r_m_a_l_i_z_e _W_e_i_g_h_t_s

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

     Normalize weights to sum to one within each stratum.

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

     normalize(wts, strata)

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

     wts: A vector of non-negative weights.  At least one of the
          weights in each stratum must be strictly positive.

  strata: A vector of the same length as `wts' defining the strata.  It
          should be a vector of integers or a factor with integer
          levels. 

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

     A vector of the same length as `wts' such that the sum of the
     output values within each stratum is 1.

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

     Angelo J. Canty

