rtlayout: Create multipanel plots with the 'mplot3' family

View source: R/rtlayout.R

rtlayoutR Documentation

Create multipanel plots with the mplot3 family

Description

Set layout for drawing multiple plots in the same view

Usage

rtlayout(
  nrows = NULL,
  ncols = NULL,
  byrow = FALSE,
  autolabel = FALSE,
  pdf.width = NULL,
  pdf.height = NULL,
  filename = NULL
)

Arguments

nrows

Integer: N of rows

ncols

Integer: N of columns

byrow

Logical: If TRUE, draw add plots by row Default = FALSE

autolabel

Logical: If TRUE, place letter labels on the top left corner of each figure. Default = FALSE

pdf.width

Float: Width of PDF to save, if filename is provided. Default = ncols * 4.5

pdf.height

Float: Height of PDF to save, if filename is provided. Default = nrows * 4.5

filename

String, optional: Save multiplot to file. Default = NULL

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on April 24, 2024, 6:58 p.m.