Learn R Programming

api2lm (version 0.2)

auto_mfrow: Automatically determine `mfrow`

Description

Automatically determine a reasonable choice for for `mfrow` in the par function based on the number of plots `n`.

Usage

auto_mfrow(n)

Value

A `numeric` vector of length 2.

Arguments

n

The number of plots.