as_netobject.gvar_result: Coerce a gvar_result to plottable netobjects

View source: R/graphical_var.R

as_netobject.gvar_resultR Documentation

Coerce a gvar_result to plottable netobjects

Description

Returns the temporal lag layer(s) and contemporaneous network as netobjects, so each renders directly with cograph::splot() (or any netobject verb) without the caller transposing matrices or dropping intercept columns. The temporal network is oriented [from = predictor(t-1), to = outcome(t)].

Usage

## S3 method for class 'gvar_result'
as_netobject(x, ...)

Arguments

x

A gvar_result.

...

Ignored.

Value

A netobject_group: a named list with $temporal for a lag-1 model, or one temporal_lagN element per multi-lag model, plus $contemporaneous.


idiographic documentation built on Aug. 4, 2026, 1:07 a.m.