getGraph: It retrieves the graph of an object of appropriate class

View source: R/gr_getters.R

getGraphR Documentation

It retrieves the graph of an object of appropriate class

Description

The function is applied on objects of appropriate class with slot 'graph'. It is used instead of the command 'obj_name$graph'.

Usage

getGraph(obj, ...)

## Default S3 method:
getGraph(obj, ...)

## S3 method for class 'Network'
getGraph(obj, ...)

## S3 method for class 'HRMnetwork'
getGraph(obj, ...)

Arguments

obj

Object of appropriate class ('Network', 'HRMnetwork')

...

additional arguments

Value

The content of slot $graph.


gremes documentation built on Feb. 16, 2023, 8:06 p.m.