Learn R Programming

mgm (version 1.1-7)

summary.mgm:

Description

Print a selection of the output-list of the function mgmfit

Usage

# S3 method for mgm
summary(object, data = NULL, ...)

Arguments

object
The output object of mgmfit, tv.mgmfit, var.mgm or tv_var.mgm.
data
If a dataset matching the dataset used for estimation is provided, the summary function adds a column with node wise errors to the output.
...
Not sed.

Value

Outputs a dataframe (stationary models) or list of dataframes (time-varying models) with the columns Variable, Type, Degree, Lambda, Threshold, EBIC and if specified, nodewise errors