setFlag3 | R Documentation |
The generated flag will be a numeric variable like 1XYZ where
X, Y and Z are dummies that are equal to 1 if the flag applies to
the value
or weight
or quantity
variables,
respectively, and 0 otherwise.
setFlag3(data = NA, condition = NA, type = NA, flag = NA,
variable = NA)
data |
Trade data. |
condition |
A logical condition where the flags should be changed. |
type |
The type of flag to set: "status" or "method". |
flag |
The value of the flag to set (e.g., "e" for estimated data). |
variable |
The variable that gets the flag: "value", "weight", "quantity". |
Populates the flag variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.