setcolumns: Define a mfrow object out of a number of plots

View source: R/functions.r

setcolumnsR Documentation

Define a mfrow object out of a number of plots

Description

returns an integer vector of length 2 giving the rows and columns

Usage

setcolumns(x, maxrow = 4)

Arguments

x

number of plots to be drawn

maxrow

maximum number of plots in one row

Value

integer vector of length 2

Author(s)

Simon Frey

Examples

    setcolumns(x = 6)
    setcolumns(x = 6, maxrow = 2)

freysimon/TigeR documentation built on April 18, 2024, 4:57 p.m.