subplot: Divides the display into a grid for multiple plots

View source: R/subplot.R

subplotR Documentation

Divides the display into a grid for multiple plots

Description

Allows plotting multiple plots in the divided Graphics window

Usage

subplot(v)

Arguments

v

A numeric atomic vector of dimension 2

Value

Return type is NULL

Author(s)

Chitran Ghosal

Examples

 X <- rnorm(10^4, mean=3, sd=3)
 Y <- X^2
 subplot(c(2,1))
 hist(X)
 hist(Y)
 subplot(c(1,1))

Chitran1987/StatsChitran documentation built on Feb. 23, 2025, 8:30 p.m.