dot-pred_array_to_df: Convert predictive array to data.frame.

Description Usage Arguments Value Author(s)

Description

Helper function for as.data.frame.fitted, forecast. Converts predictive array to data.frame.

Usage

1
.pred_array_to_df(arr, type = "backcast", param = "var")

Arguments

arr

Array to convert into data frame.

type

String. "backcast" or "forecast".

param

String. "var", "mean", or "cor".

Value

data.frame. Columns: period, type (backcast, forecast), param (var, mean, cor), TS (which time series, or which correlation for param = cor), summary columns.

Author(s)

Stephen R. Martin


bmgarch documentation built on Dec. 14, 2021, 5:07 p.m.