Description Usage Arguments Value
insertPseudocounts
takes an observation vector and a
pseudocount
, replacing all zeros in observations
with the
pseudocount
.
1 | insertPseudocounts(observations, pseudocount = 1)
|
observations |
Vector of values to ensure nonzero. |
pseudocount |
Value with which to replace zeros. |
Updated observations vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.