autoplot.summarizeNA | R Documentation |
Graphical representation of the possible missing data patterns in the dataset.
## S3 method for class 'summarizeNA'
autoplot(
object,
variable = NULL,
size.text = 16,
add.missing = " missing",
order.pattern = NULL,
...
)
## S3 method for class 'summarizeNA'
plot(x, ...)
object, x |
a |
variable |
[character] variable for which the missing patterns should be displayed.
Only required when the argument |
size.text |
[numeric, >0] size of the font used to display text. |
add.missing |
[logical] should the number of missing values per variable be added to the x-axis tick labels. |
order.pattern |
[numeric vector or character] in which order the missing data pattern should be displayed. Can either be a numeric vector indexing the patterns or a character refering to order the patterns per number of missing values ( |
... |
Not used. For compatibility with the generic method. |
A list with two elements
data
: data used to create the graphical display.
plot
: ggplot object.
plot(summarizeNA)
: Graphical Display of Missing Data Pattern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.