get.vertex.attribute: Query vertex attributes of a graph

View source: R/attributes.R

get.vertex.attributeR 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.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.