Description Usage Arguments Value
Binary
checks if a vector is empty or not, return a factor with optional descriptive names
1 | binary.test(x, i, newname, emptyname = F, notemptyname = T)
|
x |
an data frame to be analyzed. The first column must be pidm. |
i |
the numerical index of the column to be analyzed. |
newname |
a string for the name of the new column |
emptyname |
a string to be used as the factor level for empty values. Defaults to FALSE. |
not |
emptyname a string to be used as the factor level for values that are not empty. Defaults to TRUE |
Returns a data frame with the first column of the original data frame (hopefully pidm) and the new column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.