Skip to contents

The object returned by psychnet() when group is supplied: a named list of psychnet networks, one per level of the grouping variable. It plots as a grid with cograph::splot() and is consumed per level by the framework verbs (net_centralities(), net_predict(), net_boot(), net_stability(), net_compare()), each returning a *_group result.

Usage

# S3 method for class 'psychnet_group'
print(x, ...)

# S3 method for class 'psychnet_group'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

# S3 method for class 'psychnet_group'
summary(object, ...)

Arguments

x

A psychnet_group object.

...

Ignored.

row.names, optional

Ignored (S3 consistency).

object

A psychnet_group object.

Value

x, invisibly (for print).

For as.data.frame, the per-group edge lists stacked with a group column.

For summary, a data frame with one row per group (node/edge counts and mean absolute edge weight).