# NOT RUN {
# Visualization of all numerical variables
# plot_qq_numeric(heartfailure)
# Select the variable to diagnose
# plot_qq_numeric(heartfailure, "age", "time")
plot_qq_numeric(heartfailure, -age, -time)
# Not allow the typographic elements
# plot_qq_numeric(heartfailure, "age", typographic = FALSE)
# Using pipes ---------------------------------
library(dplyr)
# Plot of all numerical variables
# heartfailure %>%
# plot_qq_numeric()
# Using groupd_df ------------------------------
heartfailure %>%
group_by(smoking) %>%
plot_qq_numeric()
#heartfailure %>%
# group_by(smoking) %>%
# plot_qq_numeric(each = TRUE)
# }
Run the code above in your browser using DataLab