Description Usage Arguments Value Examples
Calculate the dispersion of each row. For each observation, this value divided by the weight gives the observation's variance.
1 | weitrix_dispersions(weitrix, design = ~1)
|
weitrix |
A weitrix object, or an object that can be converted to a weitrix
with |
design |
A formula in terms of |
A numeric vector.
1 2 3 4 5 6 | # Using a model just containing an intercept
weitrix_dispersions(simwei, ~1)
# Allowing for one component of variation, the dispersions are lower
comp <- weitrix_components(simwei, p=1, verbose=FALSE)
weitrix_dispersions(simwei, comp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.