igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] question re: sample_traits_callaway()


From: Jeff Hanes
Subject: [igraph] question re: sample_traits_callaway()
Date: Mon, 27 Jan 2020 11:57:09 -0800

I am using sample_traits_callaway() to create a graph with several types of vertices.  After the graph is created, I want to use the vertex types to perform operations on the graph.  However, I have not been able to access the type attribute.  I have tried:

vertex_graph( g ) ... which produces
list()

V(g)$type ... which produces
NULL

Is the type stored anywhere that I am not thinking of?

Thank you!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]