predict_abundance | R Documentation |
Predict taxon abundances at given values of an index
predict_abundance(index_value, abundance, susceptibility)
index_value |
Value or values of the index at which to make predictions. |
susceptibility |
A character vector of antibiotic susceptibility, with
values that are "susceptible", "resistant", or |
abundances |
A vector of taxon abundances in a sample. |
A new vector of abundances if index_value
has length 1. If
index_value
is a vector longer than 1, this function returns a
matrix, where each column contains the predicted abundances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.