summ                 package:epicalc                 R Documentation

_S_u_m_m_a_r_y _w_i_t_h _g_r_a_p_h

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

     Summary data as table. Summary a variable with statistics and
     graph

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

     summ(x=.data, by=NULL, graph=TRUE, box=FALSE)

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

       x: 'x' can be a data frame or a vector. 'summ()' is the same as
          'summ(.data)'

      by: a stratification variable, valid only when x is a vector

   graph: automatic plot of a sorted dot chart if 'x' is a vector

     box: add a boxplot to the graph (by=NULL)

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

     For data frames, 'summ' gives basic statistics of each variable in
     the data frame. The other arguments are ignored.

     For single vectors, a sorted dot chart is also provided, if
     graph=TRUE (default).

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

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

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

     'summary', 'use', 'des'

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

     data(Oswego)
     .data <- Oswego
     attach(.data)

     # The above lines generate a hypothetical data frame. 
     # In reality, one just exploits 'use("Oswego.rec")', if the file is available.
     summ()
     summ(age)
     summ(age, box=TRUE)
     summ(age, by=sex)

