h_substitute: Subtitute the missing values in a series by existing values...

h_substituteR Documentation

Subtitute the missing values in a series by existing values of another series

Description

The series to proceed (first in file list) contents missing values or gaps to be replaced by those of the second series (second in file list).

The function only works on the common dates of both series.

Usage

h_substitute(files)

Arguments

files

List of two file names

Details

The output file is named with a sb_ prefix.

Author(s)

P. Chevallier - Feb 2017 - Mar 2020

Examples

## Not run: 

f <- h_substitute(c(f1, f2))

## End(Not run)


htsr documentation built on Oct. 13, 2023, 5:10 p.m.