Get keys which can be used in venn plot.

get_venn_key(source_key, key_len)

Arguments

source_key

The combination of number: 1,2,3,12,13,23,123

key_len

The num of different numbers

Value

Binary keys such as 001,010,100...

Examples

get_venn_key(c(1,2,3,12,13,23,123), 3)
#> Error in get_venn_key(c(1, 2, 3, 12, 13, 23, 123), 3): could not find function "get_venn_key"