assign_taxo_cause_list: assign taxonomy information to cause list

Description Usage Arguments Value

View source: R/clean-perch-data.R

Description

NB: need example; change dir_taxo to an actual matrix or data frame.

Usage

1
assign_taxo_cause_list(cause_list, dir_taxo = NULL)

Arguments

cause_list

See cause_list in model_options$likelihood (see parameter settings in nplcm())

dir_taxo

File path to the .csv file storing two columns of information: pathogen, and pathogen_type.

Value

A vector of factors of taxonomy information (currently for "B","F","V"). The names of the vector are pathogen names.


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