Description Usage Arguments Value Author(s)
emmeans expects accepts a weights argument to specify the denominator for mean calculations. This function will calculate these weights from the frequency of the emmeans levels from a new dataset.
Arguments with which emmeans is to be called are passed to this function
which will call emmeanss()
with weights = 'show.levels'
in
order to determine the levels over which weights are calculated. It will
then use the passed data
to evaluate frequencies for those weights.
1 | append_weights(emmeans_args, data = NULL, verbose = FALSE)
|
emmeans_args |
arguments with which emmeans will be called |
data |
a dataset over which the weights should be calculated as level frequencies. |
verbose |
whether additional information should be printed to console |
The same arguments passed through emmeans_args
with the
weights parameter specified by the frequencies of occurence in the
data
variable, or the emmeans_args$data
list item if no data
was included (default behavior of emmeans
).
Doug Kelkhoff kelkhoff.douglas@gene.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.