replaceable: Returns the index of which values can be replaced

Description Usage Arguments Value

Description

Only data with replaceable symbols are replaced by the module. This function will return the index in which the values can be replaced.

Usage

1
replaceable(symb, newValue = 0, replaceableSymb = c("C", "T", "M"))

Arguments

symb

The vector of symbols to be tested.

newValue

The new value which can be written to the cell. The AUPUS logic states that the old value should not be replaced if it was trended and the new value is missing (0 in the old framework).

replaceableSymb

A vector specifying which symbols can be replaced.

Value

A logical vector indicating if each individual element can be replaced.


SWS-Methodology/faoswsAupus documentation built on May 9, 2019, 11:45 a.m.