Learn R Programming

UsingR (version 2.0-7)

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, ...)

Arguments

x

vector of univariate data

Arguments passed to the hist function

Value

Just prints the two graphs

See Also

hist,boxplot,layout

Examples

Run this code
# NOT RUN {
x<-rnorm(100)
simple.hist.and.boxplot(x)
# }

Run the code above in your browser using DataLab