Description Usage Arguments Details Value Author(s)
Often, the user provides probabilities to deal with all the possible modalities in its dataset; but sometimes the sample just does not contains some of the modalities which might exist. This function takes as a reference the dictionary assuming it contains only what is required. In removes all the rows related to modalities not really found in the probability table.
1 | remove_excess_probas_pd_lines(pd, dictionary)
|
pd |
a probability distribution |
dictionary |
a dictionary |
If data is removed, a warning will be emitted.
the same probability distribution with maybe less elements
Samuel Thiriot <samuel.thiriot@res-ear.ch>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.