R: Calcurate layout matrix for 'ggmultiplot'

get.layout {ggfortify} | R Documentation

## Calcurate layout matrix for `ggmultiplot`

### Description

Calcurate layout matrix for `ggmultiplot`

### Usage

    get.layout(nplots, ncol, nrow)

### Arguments

`nplots` | Number of plots
`ncol` | Number of grid columns
`nrow` | Number of grid rows

### Value

matrix

### Examples

    ggfortify:::get.layout(3, 2, 2)

[Package ggfortify version 0.4.1 Index]