abstract_graph: Create an abstract graph object

View source: R/abstract-graph.R

abstract_graphR Documentation

Create an abstract graph object

Description

Could be an actual graph object, or a graph such as the Twitter following network defined implicitly via API requests, etc. The abstract graph is just a list with abstract_graph class and your desired subclass.

Usage

abstract_graph(subclass, ...)

Arguments

subclass

Desired subclass (character).

...

Other arguments to pass to list(). See rtweet_graph() for an example.


RoheLab/aPPR documentation built on July 1, 2024, 1:57 p.m.