missmap                package:Amelia                R Documentation

_M_i_s_s_i_n_g_n_e_s_s _M_a_p

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

     Plots a missingness map showing where missingness occurs in the
     dataset passed to 'amelia'.

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

     missmap(obj, legend = TRUE, col = c("darkred","wheat"), main,
             y.cex = 0.8, x.cex = 0.8, y.labels, y.at, ...)

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

     obj: an object of class "amelia"; typically output from the
          function 'amelia'.

  legend: should a legend be drawn?

     col: a vector of length two where the first element specifies the
          color for missing cells and the second element specifies the
          color for observed cells.

    main: main title of the plot. Defaults to "Missingness Map".

   x.cex: expansion for the variables names on the x-axis.

   y.cex: expansion for the unit names on the y-axis.

y.labels: a vector of row labels to print on the y-axis

    y.at: a vector of the same length as 'y.labels' with row nmumbers
          associated with the labels.

     ...: further graphical arguments.

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

     'missmap' draws a map of the missingness in a dataset using the
     'image' function. The columns are reordered to put the most
     missing variable farthest to the left. The rows are reordered to a
     unit-period order if the 'ts' and 'cs' arguments were passed to
     'amelia'. If not, the rows are not reordered.

     The 'y.labels' and 'y.at' commands can be used to associate labels
     with rows in the data to identify them in the plot. The y-axis is
     internally inverted so that the first row of the data is
     associated with the top-most row of the missingness map. The
     values of 'y.at' should refer to the rows of the data, not to any
     point on the plotting region.

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

     'compare.density', 'overimpute', 'tscsPlot', 'image', 'heatmap'

