Skip to contents

Convert list object output to a data frame

Usage

# S3 method for class 'bnfClass'
as.data.frame(x)

Arguments

x

Object of class bnfClass, output of function bnf

Value

A data frame including:

  • time, where input y to function bnf is of class ts

  • y

  • trend

  • cycle

  • cycle_se

  • cycle_ci

If adjusted standard errors are applied

  • cycle_adjusted_se

  • cycle_ci_adjusted