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.


antaresEditObject documentation built on Oct. 4, 2023, 1:06 a.m.