make_binary: Convert cont var to binary

View source: R/make_binary.R

make_binaryR Documentation

Convert cont var to binary

Description

Convert cont var to binary

Usage

make_binary(v, method = "median", q = 0.75)

Arguments

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)


hhilbig/haschaR documentation built on Dec. 26, 2024, 5:40 a.m.