This function plots the smoothed values of `-log(entropy)` against the missingness mechanism and a boxplot of entropy for labeled vs. unlabeled observations.
plot_missingness(
dat,
g,
parlist,
zm,
bandwidth = 5,
range.x = c(0, 5),
ylim = NULL,
kernel = "normal"
)
A plot.
An \(n\times p\) matrix where each row represents an individual observation
Number of multivariate normal classes.
A list containing the required parameters \((\pi, \mu, \Sigma)\).
An n-dimensional vector containing the class labels including the missing-label denoted as NA.
Bandwidth for kernel smoothing. Default is 5.
Range for x values. Default is c(0, 5).
The y-axis limits in the form of c(ylim[1], ylim[2]). Default is NULL.
Kernel type for smoothing. Default is 'normal'.