Learn R Programming

UsingR (version 2.0-8)

simple.hist.and.boxplot: A function to plot both a histogram and a boxplot

Description

Simple function to plot both histogram and boxplot to compare

Usage

simple.hist.and.boxplot(x, ...)

Value

Just prints the two graphs

Arguments

x

vector of univariate data

...

Arguments passed to the hist function

Author

John Verzani

See Also

hist,boxplot,layout

Examples

Run this code
x<-rnorm(100)
simple.hist.and.boxplot(x)

Run the code above in your browser using DataLab