trigrid {broman}R Documentation

Add grid lines to triplot

Description

Add grid lines to a ternary plot with triplot()

Usage

trigrid(
  n = 1,
  col = "white",
  lty = 1,
  lwd = 1,
  outer_col = "black",
  outer_lwd = 2,
  ...
)

Arguments

n

Number of grid lines

col

Color of grid lines

lty

Line type for grid lines

lwd

Line width of grid lines

outer_col

Color of outer triangle (If NULL, not plotted)

outer_lwd

Line width of outer triangle

...

Additional arguments passed to trilines()

See Also

triplot(), trilines()

Examples

triplot(c("A","H","B"), gridlines=1, grid_lwd=2)
trigrid(3, lty=2, lwd=2)

[Package broman version 0.84 Index]