restore0M: This function is the reverse of 'remove0M' which replaces...

Description Usage Arguments Value

Description

This function is the reverse of remove0M which replaces (NA, M) with (0, M)

Usage

1
restore0M(data, valueVars, flagVars, missingFlag = "M")

Arguments

data

The data.table object containing the values.

valueVars

The value of the observation.

flagVars

The flag of the observation.

missingFlag

The value of the flag which denotes missing value.

Value

The data object with all the (0, M) replaced with (NA, M)


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