magic.dim: Returns a suitable k1 x k2 for plotting the disProgObj

Description Usage Arguments Value See Also

Description

For a given number k magic.dim provides a vector containing two elements, the number of rows (k1) and columns (k2), respectively, which can be used to set the dimension of a single graphic device so that k1*k2 plots can be drawn by row (or by column) on the device.

Usage

1

Arguments

k

an integer

Value

vector with two elements

See Also

primeFactors and bestCombination which are internally used to complete the task.

n2mfrow is a similar function from package grDevices.


jimhester/surveillance documentation built on May 19, 2019, 10:33 a.m.