R/parsec2igraph.cover.R

Defines functions parsec2igraph.cover

Documented in parsec2igraph.cover

parsec2igraph.cover <- function(p, ...) {
	g <- graph_from_adjacency_matrix(t(p))
	g$layout <- as.matrix(-vertices(p, ...))
	return(g)
}

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.