poly3table               package:MCPAN               R Documentation

_S_u_m_m_a_r_i_z_e _l_o_n_g _t_e_r_m _c_a_r_c_i_n_o_g_e_n_i_c_i_t_y _d_a_t_a

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

     Function to summarize data of long term carcinogenicity trials in
     a text format. Data are assumed to consist of (1) a dichotomous
     variable,  defining whether the tumour of interest was present in
     an individual animal at time of death, and (2) a numeric variable
     containing the time of death of an individual animal, and (3) a
     grouping factor.

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

     poly3table(time, status, f, tumour = NULL, symbol = "*")

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

    time: a numeric vector, containing the time of death of an
          individual 

  status: a logical (or dichotomous categorical) vector 

       f: a factor, specifying treatment groups

  tumour: the value which 'status' obtains if a tumour is present in an
          individual at time of death  

  symbol: symbol to indicate presence of tumour in the text
          representation 

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

     A named list, containing a character string for each group

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

     Frank Schaarschmidt

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

     data(methyl)
     methyl
     poly3table(time=methyl$death, status=methyl$tumour,
      f=methyl$group, tumour = 1, symbol = "*")

