Learn R Programming

lattice (version 0.3-1)

llines: Lattice Replacements of base graphics functions

Description

These functions are intended to replace some commonly used base R graphics functions in panel functions.

Usage

larrows(x0, y0, x1, y1, ...)
llines(x, ...)
lplot.xy(xy, ...)
lpoints(x, ...)
lsegments(x0, y0, x1, y1, ...)
ltext(x, ...)

Arguments

x, y, x0, y0, x1, y1, xy
locations
...
other arguments

synopsis

larrows(...) llines(x, y = NULL, type = "l", col = plot.line$col, lty = plot.line$lty, lwd = plot.line$lwd, ...) lplot.xy(xy, type, pch = 1, lty = 1, col = 1, cex = 1, lwd = 1, ...) lpoints(x, y = NULL, type = "p", col = plot.symbol$col, pch = plot.symbol$pch, cex = plot.symbol$cex, ...) lsegments(x0, y0, x1, y1, col = add.line$col, lty = add.line$lty, lwd = add.line$lwd, ...) ltext(x, y = NULL, labels = seq(along = x), col = add.text$col, cex = add.text$cex, srt = 0, adj = 0.5, ...)

Details

These functions are meant to be grid replacements of the corresponding base R graphics functions, to allow existing Trellis code to be used with minimal modification. These are not particularly efficient, and grid functions should probably be used when possible.

See the documentation of the base functions for usage. Not all arguments are always supported. These all correspond to the default methods only. In particular, larrows does not draw arrows.

See Also

points, lines, text, segments, Lattice