replicate_missing_ts {antaresEditObject}R Documentation

Replicate a data.table as many times as needed to get the same number of time series between 2 data.tables

Description

Replicate a data.table as many times as needed to get the same number of time series between 2 data.tables

Usage

replicate_missing_ts(xts, yts)

Arguments

xts

a data.table of time series type to replicate if necessary.

yts

a data.table of time series type to use as reference to match its number of time series.

Value

the data.table x replicated to match the number of time series of y.


[Package antaresEditObject version 0.6.2 Index]