Skip to content

Instantly share code, notes, and snippets.

@darioappsilon
Created January 7, 2021 11:40
007_logistic_regression
density_before <- ggplot(df, aes(x = Age)) +
geom_density(fill = "#e74c3c", alpha = 0.6) +
labs(title = "Age: Before Imputation") +
theme_classic()
density_after <- ggplot(result_mice, aes(x = Age)) +
geom_density(fill = "#2ecc71", alpha = 0.6) +
labs(title = "Age: After Imputation") +
theme_classic()
plot_grid(density_before, density_after)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment