add_edge_size: Modify the edge size of a sgraph object.

View source: R/sigma_attrs.R

add_edge_sizeR 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


sgraph documentation built on Sept. 12, 2024, 7:06 a.m.