Learn R Programming

sgraph (version 1.1.0)

add_edge_size: 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)

Value

sgraph with modified edge sizes

Arguments

sigma_obj

sgraph object

one_size

A single size to use for all edges

Examples

Run this code
library(igraph)
library(sgraph)

data(lesMis)

sig <- sigma_from_igraph(igraph = lesMis) %>%
  add_edge_size(one_size = 5)
sig

Run the code above in your browser using DataLab