Description Usage Arguments Value Author(s)
Create a vector of weights for use in 'contrast()' by specifying marginal weights per factor.
1 | marginal_weights.emmc(x, .mweights = NULL, .grid = NULL, ...)
|
x |
not used (internal for ‘contrast()’). |
.mweights |
a list (or list of list) of vector(s) of marginal weights, the length of which must match the number of levels of the specified factor, and the name of which match the factor in .grid. |
.grid |
optional grid object made with |
... |
not used. |
a data frame of weights, to be used in contrast
.
Mattan S. Ben-Shachar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.