arrayplot: Array Plotting

Description Usage Arguments Author(s) See Also Examples

View source: R/arrayplot.R

Description

Graphical representation for matrix class objects using lattice package

Usage

1
2
3
4
5
6
7
8
9
arrayplot(
  y,
  mini = -max(abs(min(y)), max(y)),
  maxi = max(abs(min(y)), max(y)),
  colors = 1,
  ylab = "",
  xlab = "",
  main = ""
)

Arguments

y

a numerical data.frame or matrix object

mini,

minimum color range (might cause blank spots if misspecified)

maxi,

maximum color range (might cause blank spots if misspecified)

colors

1 = blue/red, 0 = white/black

ylab

y axis label passed to lattice::levelplot function

xlab

x axis label passed to lattice::levelplot function

main

plot title passed to lattice::levelplot function

Author(s)

VD Mayrink

See Also

simdata, summary.bsem, plot.bsem, sem, runShiny

Examples

1
2
3
4
dt <- simdata()

arrayplot(dt$real$alpha)
arrayplot(dt$real$alpha, colors = 0)

bsem documentation built on Aug. 14, 2020, 5:07 p.m.