R/drawedges.R

Defines functions drawedges

Documented in drawedges

drawedges <-
function(C, vertices, ...) {
  n <- dim(C)[1]
  for(a in 1:n) for(b in 1:n) if(C[a, b]) lines(vertices$x[c(a, b)], vertices$y[c(a, b)], ...)
}

Try the parsec package in your browser

Any scripts or data that you put into this service are public.

parsec documentation built on Aug. 19, 2023, 5:07 p.m.