Description Usage Arguments Value Examples
Convert a matrix of binary indicators to categorical variables
1 | Imat2cat(binary_mat, cause_list, pathogen_list)
|
binary_mat |
The matrix of binary indicators. Rows for subjects, columns for pathogens in the |
cause_list |
The list of causes |
pathogen_list |
The complete list of pathogen names |
A vector of categorical variables. Its length equals the length of "allowed.list"
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.