get.vertex.attribute {igraph}R Documentation

Query vertex attributes of a graph

Description

[Deprecated]

get.vertex.attribute() was renamed to vertex_attr() to create a more consistent API.

Usage

get.vertex.attribute(graph, name, index = V(graph))

Arguments

graph

The graph.

name

Name of the attribute to query. If missing, then all vertex attributes are returned in a list.

index

An optional vertex sequence to query the attribute only for these vertices.


[Package igraph version 2.0.3 Index]