Learn R Programming

ribiosPlot (version 1.3.0)

histMat: Make histograms for matrix

Description

Make histograms for matrix

Usage

histMat(
  mat,
  linesOpt = list(lwd = NULL, col = NULL, lty = NULL, type = NULL, pch = NULL),
  main = NULL,
  xlab = NULL,
  xlim = NULL,
  ...
)

Value

Invisibly, a list as returned by hist, with additional elements xlim and linesOpt.

Arguments

mat

A numerical matrix

linesOpt

Line options

main

Title text

xlab

Xlab

xlim

Xlim

...

Other parameters passed to hist

Author

Jitao David Zhang <jitao_david.zhang@roche.com>

See Also

Examples

Run this code

testMat <- matrix(rnorm(1000), nrow=100)
histMat(testMat)

Run the code above in your browser using DataLab