setFlag2 | R Documentation |
The generated flag will be a numeric variable like 1XY where
X and Y are dummies that are equal to 1 if the flag applies to
the value
or quantity
variables, respectively, and
0 otherwise.
setFlag2(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", "quantity". |
Populates the flag variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.