Learn R Programming

htsr (version 2.1.6)

h_replace: Replace a value by another

Description

Replace a value by another

Usage

h_replace(file, old.val, new.val)

Arguments

file

File name to proceed

old.val

Value to be replaced

new.val

New value

Author

P. Chevallier - Oct 2017- Nov 2020

Details

The output file is named with a re_ prefix.

Examples

Run this code
if (FALSE) {

f <- ts_remplace_ts(f,  NA, 0)
}

Run the code above in your browser using DataLab