I see this code :
list <-lapply(1:ncol(mtcars), function(col) ggplot2::qplot(mtcars[[col]], geom = "histogram",binwidth = 1)) cowplot::plot_grid(plotlist = list)
surggest by Paul Endymion to respond to "Plotting multiple histograms quickly in R".
I try that code, and it work well. But, I don't know how to add x labels in that code because all histograms are labeled histdata[[col]]
. Can you help me?
Thanks.