join_panels: Join multiple panels on intersecting dates (unique symbol...

View source: R/ml.R

join_panelsR Documentation

Join multiple panels on intersecting dates (unique symbol names)

Description

Align and join a list of wide panels on their common dates. Each input panel must have one Date column and a disjoint set of symbol columns.

Usage

join_panels(panels)

Arguments

panels

List of wide panels (data.frame or data.table), each with columns Date + symbols.

Details

All panels are first aligned to the intersection of their Date values. Symbol names must be unique across panels; if the same symbol appears in multiple inputs, an error is raised.

Value

A data.table with Date plus the union of all symbol columns, restricted to common dates.


PortfolioTesteR documentation built on Nov. 5, 2025, 5:23 p.m.