Skip to content

Instantly share code, notes, and snippets.

@MJacobs1985
Created November 10, 2022 13:25
Show Gist options
  • Save MJacobs1985/5cf517b9a6e270ed1210a020305b29d5 to your computer and use it in GitHub Desktop.
Save MJacobs1985/5cf517b9a6e270ed1210a020305b29d5 to your computer and use it in GitHub Desktop.
vis_miss(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38)])
gg_miss_upset(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38)])
gg_miss_upset(total)
n_var_miss(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38)])
gg_miss_var(total)
gg_miss_var(total,show_pct = TRUE)
gg_miss_var(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38,79)],show_pct = TRUE, facet=timef)
gg_miss_case(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38,79)],show_pct = TRUE, facet=timef)
gg_miss_case(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38,49)],show_pct = TRUE, facet=Disease_stage_at_consultation)
gg_miss_fct(x=total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38,79)], fct = timef)
gg_miss_fct(x=total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38,42)], fct = Gender)
gg_miss_fct(x=total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38,49)], fct=Disease_stage_at_consultation)
gg_miss_case_cumsum(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38)])
gg_miss_upset(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38)], nsets = n_var_miss(total[,c(3,6,9,12,15,19,20,23,26,29,32,35,38)]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment