add_edge_size {sgraph} | R Documentation |
Modify the edge size of a sgraph object.
Description
Modify the edge size of a sgraph by providing a single size
Usage
add_edge_size(sigma_obj, one_size = NULL)
Arguments
sigma_obj |
sgraph object |
one_size |
A single size to use for all edges |
Value
sgraph with modified edge sizes
Examples
library(igraph)
library(sgraph)
data(lesMis)
sig <- sigma_from_igraph(igraph = lesMis) %>%
add_edge_size(one_size = 5)
sig
[Package sgraph version 1.0.0 Index]