get_cause_by_taxo_group: pick categories from a vector of causes

Description Usage Arguments Value

View source: R/plot-etiology-side-by-side.R

Description

pick categories from a vector of causes

Usage

1
get_cause_by_taxo_group(cause_list, taxo_group, lookup_table)

Arguments

cause_list

see model_options

taxo_group

a character string, can be "virus", "bacterium", "combo".

lookup_table

a data frame with two columns ("Category" and "Cause").

Value

a vector of indices indicating if each element belongs to taxo_group.


oslerinhealth/baker documentation built on May 22, 2021, 12:05 p.m.