powered by
Creates box plots if the data has both categorical & continuous variables.
ds_plot_box_group(data, ..., print_plot = TRUE)
A data.frame or tibble.
data.frame
tibble
Column(s) in data.
data
logical; if TRUE, prints the plot else returns a plot object.
TRUE
# subset data mt <- dplyr::select(mtcarz, cyl, disp, mpg) # plot select variables ds_plot_box_group(mtcarz, cyl, gear, mpg) # plot all variables ds_plot_box_group(mt)
Run the code above in your browser using DataLab