Skip to contents

pickbound enables the automatic selection of a pre-determined optimum combination of plot rows and columns to suit a number of plots up to 30. So, given a number of plots from 1 to 30 this returns a numeric dimer containing the number of rows and columns needed for par statement

Usage

pickbound(n)

Arguments

n

the number of plots to be included in a combined plot

Value

a vector of two with the number of rows and columns for a plot

Examples

pickbound(5)
#> [1] 3 2
pickbound(8)
#> [1] 4 2