ENbarplot              package:EnQuireR              R Documentation

_P_l_o_t_s _o_f _c_a_t_e_g_o_r_i_c_a_l _v_a_r_i_a_b_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function allows to obtain barplots either sorted by frequency
     or by alphabetical order.  The percentage of missing values is
     indicated at the top of the graphical device.

_U_s_a_g_e:

     ENbarplot(dataset,X,spl=FALSE,numr=NULL,numc=NULL,report=FALSE)

_A_r_g_u_m_e_n_t_s:

 dataset: a data frame

       X: the numbers of the variables to be plotted

     spl: if TRUE, the barplots will be sorted per length

    numr: the number of plots per row (by default 2)

    numc: the number of plots per column (by default 2)

  report: a logical value. If TRUE, a report is automatically generated

_D_e_t_a_i_l_s:

     The colour changes depending on the number of individuals of the
     category.  If report=TRUE, a directory named "EnQuireR" is created
     in your working directory (which can be known thanks to the
     getwd() function). This directory contains the final pdf report
     and also the teX file used to produce it.

_A_u_t_h_o_r(_s):

     Jerome Bouche jerome.bouche@yahoo.fr 
      Marine Cadoret marine.cadoret@agrocampus-ouest.fr 
      Gwenaelle Fournier gwenaelle.fournier@gmail.com 
      Olivier Fournier olivier.fournier76@gmail.com 
      Francois Le Poder francois.lepoder@gmail.com

_S_e_e _A_l_s_o:

     'XvsYbarplot' which gives barplots of a categorical variable
     depending on the categoricals of another categorical variable.

_E_x_a_m_p_l_e_s:

     ## Not run: 
     data(tea)
     ENbarplot(tea,c(18,20,21,23))

     ENbarplot(tea,c(18,20,21,23),report=TRUE)
     ## End(Not run)

