plotMissing function