num2bin: numeric to binary conversion

Description Usage Arguments Value

View source: R/ORsurv.R

Description

Trequires matrix and cutoff as t for to convert numeric to binary matrix

Usage

1
num2bin(mat, t = -3)

Arguments

mat

numeric matrix

t

cutoff for 0 and 1

Value

mat would return binary matrix


krishan57gupta/ORsurv documentation built on Dec. 29, 2019, 4:56 p.m.