visual.plot | R Documentation |
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.
visual.plot(data.indicator, title = "Percentages of different data type")
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". |
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.
The plot that shows the details of the different type of data in the dataset.
data.ind <- simulated.dat[[2]] visual.plot(data.ind)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.