View source: R/settingSwitches.R
zerostoggle | R Documentation |
Cycles between two options for dealing with zero counts: - replace: Replacing zero counts with a value between 1/100 and 1/10 of the minimum count value - impute: Use zCompositions package to impute a distribution of values to replace zeros
zerostoggle(
method = c("replace", "impute"),
div = NULL,
rdist = c("runif", "point")
)
method |
(Optional) The method of zero-replacement to switch to |
div |
(Optional) The divisor by which to divide the lowest count value by |
rdist |
(Optional) How to replace zeros, either using a uniform distribution or a point value to determine the maximum value to replace zeros with for the "replace" method |
Does not return anything
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.