I2symb: Convert 0/1 coding to pathogen/combinations

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Reverse to symb2I()

Usage

1
I2symb(binary_code, pathogen_list)

Arguments

binary_code

Binary indicators for pathogens

pathogen_list

The complete list of pathogen names

Value

The name of pathogen or pathogen combination indicated by "code"

Examples

1
2
I2symb("001",c("A","B","C"))
I2symb("000",c("A","B","C"))

baker documentation built on Feb. 2, 2022, 9:06 a.m.