make_binary | R Documentation |
Convert cont var to binary
make_binary(v, method = "median", q = 0.75)
v |
variable (must be continuous) |
method |
mean, median or quantile split |
q |
if method = quantile, then this is the quantile that is used (0-1) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.