get_cause_by_num: get the names of causes by the number of pathogens associated...

Description Usage Arguments Value Examples

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

Description

get the names of causes by the number of pathogens associated with that cause. For now it is specifically for PERCH.

Usage

1
get_cause_by_num(cause_list, num)

Arguments

cause_list

see model_options

num

the number of pathogens for a cause

Value

a subvector of cause_list

Examples

1
2
3
x <- c("A","B","C","A+B","C+D","AA+BD","A+B+C","HELLO+BYE")
num <- 2
get_cause_by_num(x,num)

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