I2symb: Convert 0/1 coding to pathogen/combinations

View source: R/utils.R

I2symbR Documentation

Convert 0/1 coding to pathogen/combinations

Description

Reverse to symb2I()

Usage

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

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


zhenkewu/baker documentation built on May 6, 2024, 11:19 p.m.