Learn R Programming

adegraphics (version 1.0-21)

adeg.panel.join: Panel function for joining lines.

Description

Panel function for drawing lines as part of a circle centred in (0, 0) into a trellis graphic (lattice package).

Usage

adeg.panel.join(drawLines, params = list())

Value

Displays level lines and their values.

Arguments

drawLines

a vector containing the level values used as radius of the circle

params

graphical parameters : plabels and add.line (lattice)

Author

Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray

Examples

Run this code
if(require(lattice, quietly = TRUE)) {
  xyplot(0:20 ~ 0:20, drawLines = c(5, 10, 15), params = list(plabels.cex = 2), 
    panel = function(drawLines, params){
      adeg.panel.join(drawLines = drawLines, params = params)})
}

Run the code above in your browser using DataLab