Learn R Programming

ggfortify (version 0.4.17)

get.layout: Calcurate layout matrix for ggmultiplot

Description

Calcurate layout matrix for ggmultiplot

Usage

get.layout(nplots, ncol, nrow)

Value

matrix

Arguments

nplots

Number of plots

ncol

Number of grid columns

nrow

Number of grid rows

Examples

Run this code
ggfortify:::get.layout(3, 2, 2)

Run the code above in your browser using DataLab