sumFlags | R Documentation |
This function will sum two indicator variables of the type
XYZ where X, Y or Z are 0 or 1, and the result will be itself
a XYZ variable. Note: if new
and old
are used,
flags
should not be used, and vice versa.
sumFlags(new = NA, old = NA, flags = NA)
new |
The new flag. Should be a scalar. |
old |
The old flags. Can be a vector. |
flags |
A numeric vector of flags to be summed. |
An indicator variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.