lws_table-add: Combine 'lws_table' objects

+.lws_tableR Documentation

Combine lws_table objects

Description

Combines lws_table objects

Usage

## S3 method for class 'lws_table'
... + check = TRUE

Arguments

...

lws_table object

check

logical, if TRUE checks that the each lws_table object is named a list with names c("weights","lags","starts")

Details

The lws_table objects have similar structure to table, i.e. it is a list with 3 elements which are the lists with the same number of elements. The base function c would cbind such tables. This function rbinds them.

Value

lws_table object

Author(s)

Virmantas Kvedaras, Vaidotas Zemlys

Examples

nlmn <- expand_weights_lags("nealmon",0,c(4,8),1,start=list(nealmon=rep(0,3)))
nbt <- expand_weights_lags("nbeta",0,c(4,8),1,start=list(nbeta=rep(0,4)))

nlmn+nbt

mpiktas/midasr documentation built on Aug. 24, 2022, 2:32 p.m.