Learn R Programming

rcdo (version 0.3.0)

detrend: Detrend time series

Description

Every time series in infile is linearly detrended. For every field element x only those timesteps t belong to the sample S(x), which have i(t,x) NE miss. It is assumed that all timesteps are equidistant, if this is not the case set the parameter equal=false.

Usage

cdo_detrend(ifile, equal = NULL, ofile = NULL)

Value

Operators that output one or more files return a character vector to the output files.

Operators that output an indefinite number of files return a string with the basename of the files.

Operatos that don't return filenames return a character vector with the string output.

Arguments

ifile

String with the path to the input file.

equal

BOOL - Set to false for unequal distributed timesteps (default: true)

ofile

String with the path to the output file.