seqmissIplot: Plot all the patterns of missing data.

View source: R/plots.R

seqmissIplotR Documentation

Plot all the patterns of missing data.

Description

#' @description Plot function that renders all the patterns of missing data. This function is based on the seqIplot function.

Usage

seqmissIplot(data, var = NULL, with.complete = TRUE, ...)

Arguments

data

a data.frame where missing data are coded as NA or a state sequence object built with seqdef function

var

the list of columns containing the trajectories. Default is NULL, i.e. all the columns.

with.complete

a logical stating if complete trajectories should be included or not in the plot

...

parameters to be passed to the seqIplotfunction

Author(s)

Kevin Emery

Examples

# Plot all the patterns of missing data

seqmissIplot(gameadd, var=1:4)

# Plot all the patterns of missing data discarding 
# complete trajectories

seqmissIplot(gameadd, var=1:4, with.missing = FALSE)

seqimpute documentation built on May 29, 2024, 4:35 a.m.