Learn R Programming

gremes (version 0.1.1)

getGraph: 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, ...)

# S3 method for default getGraph(obj, ...)

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

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

Value

The content of slot $graph.

Arguments

obj

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

...

additional arguments