Codebook               package:epicalc               R Documentation

_C_o_d_e_b_o_o_k _o_f _a _d_a_t_a _f_r_a_m_e

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

     Print description, summary statistics and one-way tabulation of
     variables

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

     codebook(dataFrame=.data)

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

dataFrame: A data frame for printing the codebook

_D_e_t_a_i_l_s:

     The default value of dataFrame (ie if no argument is supplied) is
     '.data'.

     While 'summ' produces summary statistics of both numeric and
     factor variables, 'codebook' gives summary statistics of all
     numeric variables and one-way tabulation of all factors of the
     data frame.

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

     Virasakdi Chongsuvivatwong <cvirasak@medicine.psu.ac.th>

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

     'use', 'summ' and 'tab1'

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

     data(Familydata)
     use(Familydata)
     des()
     codebook(Familydata)
     codebook() # Same result since line #2 has created .data from Familydata

