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/rigraph documentation built on May 19, 2024, 6:19 a.m.