Learn R Programming

rtemis (version 0.79)

rtlayout: Layout for plotting on multiple panels

Description

Set layout for plotting multiple plots on 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

pdf.width

Float: Width of PDF to save, if filename is provided. Default = ncols * 4.5 #' @param 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