remove0M | R Documentation |
TODO (Michael): This function is similar to the function in the faoswsUtil package, but enables multiple value and flag pairs and also returning the data object. This function should replace the original one in the faoswsUtil package
remove0M(data, valueVars, flagVars, missingFlag = "M")
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. |
The data object with all the (0, M) replaced with (NA, M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.