Learn R Programming

seeg (version 1.0)

Panels: Functions to compose panels on one screen

Description

Functions to divide the panel in various arrangements, for example 2, 3, 4, and 6 panels.

Usage

panel2(size,int="r")
panel4(size,int="r")
panel6(size,int="r")
panel3(size,int="r")

Arguments

size
size of graphics window
int
to set xaxs,yaxs graphics arguments, "r" or "i"

Value

  • No values returned. Functions just arrange the graphics window.

Details

These functions use layout function. It allows dividing the graphics window in panels. It is customized to use the space more efficiently by reducing the margins of each plot.

References

Acevedo M.F. 2013. "Data Analysis and Statistics for Geography, Environmental Science, and Engineering", CRC Press.

See Also

EDA functions eda6, graphics layout, graphics par par

Examples

Run this code
panel2(size=5)
x <- rnorm(100)
ts.plot(x)
acf(x)

Run the code above in your browser using DataLab