plotmissingsummary {compositions} | R Documentation

## Plot a Missing Summary

### Description

Plots a missing summary as a barplot

### Usage

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

### Arguments

`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

### Details

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.

### Value

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

### Author(s)

K.Gerald van den Boogaart

### References

See compositions.missings for more details.

### See Also

`missingSummary`

### Examples

    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))

[Package compositions version 0.91-6 Index]