srvxp.fit              package:relsurv              R Documentation

_W_o_r_k _F_u_n_c_t_i_o_n _t_o _C_o_m_p_u_t_e _E_x_p_e_c_t_e_d _S_u_r_v_i_v_a_l

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

     Compute expected survival for a group of people. This function is
     not to be called by the user.

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

     srvxp.fit(x, y, ratetable)

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

       x: a  data.frame or a matrix. Each row represents one person.
          The   columns must match the dimensions of the 'ratetable',
          in the correct order.  

       y: a vector of survival times of the same length as the number
          of rows of x.

ratetable: a table of event rates, organized as a 'ratetable' object,
          such as 'survexp.us'.  

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

     A vector of survival times.

