powered by
Simple function to plot both histogram and boxplot to compare
simple.hist.and.boxplot(x, ...)
vector of univariate data
Arguments passed to the hist function
Just prints the two graphs
hist,boxplot,layout
# NOT RUN { x<-rnorm(100) simple.hist.and.boxplot(x) # }
Run the code above in your browser using DataLab