appendSymbol: Function to fill symbol based on calculated value

Description Usage Arguments Value

Description

The function will take a vector of values and fill in the new symbol if the value is not missing. If the value is missing, it will insert the missing symbol.

Usage

1
appendSymbol(value, newSymbol, missingSymbol = "M")

Arguments

value

The vector of calculated values

newSymbol

The new symbol to be assigned

missingSymbol

The symbol filled in when value is missing

Value

A list of two elements: the vector of passed values and the new derived vector of symbols.


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