Learn R Programming

eHOF (version 1.12)

autolayout: Automatically Specifying Complex Plot Arrangements

Description

Automatic version of function layout for given number of subplots. Defined matrix schemes for layout for up to 32 subfigures.

Usage

autolayout(N, byrow = TRUE, ...)

Value

Returns the number of figures, N, see layout.

Arguments

N

number of subfigures

byrow

see matrix

...

additional arguments for layout or matrix.

Author

Florian Jansen

See Also

Examples

Run this code
for(i in sample(1:32, 1)) {
  autolayout(i, byrow=TRUE)
  layout.show(i) 
}

Run the code above in your browser using DataLab