Description Usage Arguments Value
Convert values greater than or equal to a value to 1 and all other values to 0. Converts NAs to 0s.
1 2 | ezr.binaryize(dataset, column, equal_or_greaterthan = 0.5,
factorize = FALSE)
|
dataset |
Dataframe |
column |
column in quotes |
equal_or_greaterthan |
Converts this value or greater than to 1 |
factorize |
Default is FALSE. Otherwise returns as numeric 0s and 1s |
Input dataset with modified column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.