Learn R Programming

mdatools (version 0.9.4)

mdaplot.showLabels: Plot labels Shows labels for data elements (points, bars) on a plot.

Description

Plot labels Shows labels for data elements (points, bars) on a plot.

Usage

mdaplot.showLabels(x.values, y.values, labels, pos = 3, cex = 0.65,
  col = "darkgray", type = NULL)

Arguments

x.values

a vector with x-values

y.values

a vector with y-values

labels

a vector with labels

pos

position of the labels relative to the points

cex

size of the labels text

col

color of the labels text

type

type of the plot

Details

Rownames of matrix data are used as labels. If matrix has no rownames, row numbers will be used instead.