replicate_missing_ts: Replicate a data.table as many times as needed to get the...

View source: R/writeHydroValues.R

replicate_missing_tsR 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.


rte-antares-rpackage/antaresEditObject documentation built on May 3, 2024, 10:33 a.m.