Learn R Programming

sgraph (version 1.1.0)

add_edge_zindex: Modify the edge zIndex of a sgraph object.

Description

Modify the edge zIndex

Usage

add_edge_zindex(sigma_obj, zindex)

Value

sgraph

Arguments

sigma_obj

sgraph object

zindex

Zindex value, larger is drawn above.

Examples

Run this code
library(igraph)
library(sgraph)

data(lesMis)

sig <- sigma_from_igraph(igraph = lesMis) %>%
  add_edge_zindex(zindex = 2)
sig

Run the code above in your browser using DataLab