visual.plot: Draws percentage plot for different type of values

View source: R/visual.plot.R

visual.plotR Documentation

Draws percentage plot for different type of values

Description

Draws plot that graphically shows the percentages of the missing, censored and observed data. It supports generating plots for all major types of censoring including left, right and interval censoring.

Usage

visual.plot(data.indicator, title = "Percentages of different data type")

Arguments

data.indicator

matrix including the data type indicators of the original data.

title

title of the generated plot, default is set to "Percentages of different data type".

Details

The function draws the plot that graphically shows the percentages of the missing, censored and observed data in the dataset. data.indicator should be a matrix containing the data type indicators as generated in the data preparation step. 0 for missing values, 1 for observed values, and 2 for right censored values, 3 for left censored values, and 4 for interval censored values. title is the title of the generated plot.

Value

The plot that shows the details of the different type of data in the dataset.

Examples

data.ind <- simulated.dat[[2]]
visual.plot(data.ind)


mvnimpute documentation built on July 6, 2022, 5:08 p.m.