| add.frame {BMAmevt} | R Documentation | 
Adds graphical elements to a plot of the two dimensional simplex.
Description
Adds graphical elements to the current plot (on the two-dimensional simplex).
Usage
add.frame(
  equi = FALSE,
  lab1 = "w1",
  lab2 = "w2",
  lab3 = "w3",
  npoints = 60,
  col.polygon = "black",
  axes = TRUE
)
Arguments
equi | 
 logical. Is the simplex represented as an equilateral triangle (if   | 
lab1 | 
 Character string: label for first component.  | 
lab2 | 
 Character string: label for second component.  | 
lab3 | 
 Character string: label for third component.  | 
npoints | 
 The number of grid nodes on the squared grid containing the desired triangle.  | 
col.polygon | 
 The background color outside the simplex.  | 
axes | 
 logical. Should axes be added ?  | 
Details
Generic graphical tool for obtaining nice plots of the two-dimensional simplex
Examples
plot.new()
add.frame()
plot.new()
mult.x=sqrt(2); mult.y=sqrt(3/2)
plot.window( xlim=c(0,mult.x),ylim=c(0,mult.y), asp=1,bty ="n")
add.frame(equi=TRUE)
[Package BMAmevt version 1.0.5 Index]