Learn R Programming

htsr (version 2.1.6)

h_substitute: 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

Author

P. Chevallier - Feb 2017 - Mar 2020

Details

The output file is named with a sb_ prefix.

Examples

Run this code
if (FALSE) {

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

Run the code above in your browser using DataLab