Panel function for drawing lines as part of a circle centred in (0, 0) into a trellis
graphic (lattice
package).
adeg.panel.join(drawLines, params = list())
Displays level lines and their values.
a vector containing the level values used as radius of the circle
graphical parameters : plabels
and add.line
(lattice
)
Alice Julien-Laferriere, Aurelie Siberchicot aurelie.siberchicot@univ-lyon1.fr and Stephane Dray
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