In data frame and list, convert character and numberic data to 0/1.

convert_01(object)

Arguments

object

data frame or list

Value

a data frame with 0/1 values