plotmissingsummary       package:compositions       R Documentation

_P_l_o_t _a _M_i_s_s_i_n_g _S_u_m_m_a_r_y

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

     Plots a missing summary as a barplot

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

     ## S3 method for class 'missingSummary':
     plot(x,...,main="Missings",legend.text=TRUE,
                         col=c("gray","lightgray","yellow","red","white","magenta"))
      as.missingSummary(x,...)

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

       x: a missingSummary table with columns representing different
          types of missing

     ...: further graphical parameters to barplot

    main: as in barplot

legend.text: as in barplot

     col: as in barplot

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

     The different types of missings are drawn in
     quasi-self-understandable  colors: normal gray for NMV, and
     lightgray as for BDT (since they contain semi-numeric
     information), yellow (slight warning) for MAR, red (serious 
     warning) for MNAR, white (because they are non-existing) for SZ,
     and  magenta for the strange case of errors.

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

     called for its side effect. The return value is not defined.

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

     K.Gerald van den Boogaart

_R_e_f_e_r_e_n_c_e_s:

     See compositions.missings for more details.

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

     'missingSummary'

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

     data(SimulatedAmounts)
     x <- acomp(sa.lognormals)
     xnew <- simulateMissings(x,detectionlimit=0.05,MAR=0.05,MNAR=0.05,SZ=0.05)
     xnew
     plot(missingSummary(xnew))

