graphics-utils {pkgmaker}R Documentation

Utility Functions for Graphics

Description

Utility Functions for Graphics

mfrow returns a 2-long numeric vector suitable to use in par(mfrow=x), that will arrange n panels in a single plot.

Usage

mfrow(n)

Arguments

n

number of plots to be arranged.

Value

a 2-long numeric vector that can be passed to ⁠par(mfrow = <value>)⁠.

Examples

 
mfrow(1)
mfrow(2)
mfrow(3)
mfrow(4)
mfrow(10)

[Package pkgmaker version 0.32.10 Index]