Description Usage Arguments Value
By definition, yield can not be zero. When both area harvested and production are zero, it is a missing value.
1 2 | removeZeroYield(data, yieldValue, yieldObsFlag, yieldMethodFlag,
getSummary = FALSE)
|
data |
The dataset |
yieldValue |
The column corresponding to the value of yield |
yieldObsFlag |
The column corresponding to the observation status flag of yield |
yieldMethodFlag |
The column corresponding to the method flag of yield |
getSummary |
logic It is a logic parameter, if it is set to TRUE you can display on the console messages about how many items have been modified |
A data table where all entries with zero yield are replaced with NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.