Description Usage Arguments Value See Also
ntestedRanksTest_weights is used by nestedRanksTest to
calculate group weights based on group sizes. The number of group members
in each of the two treatment levels is determined (n1 and n2)
together with their product (n1.n2), and the group-specific weight
is calculated by dividing n1.n2 by the sum of n1.n2 for all
groups.
1 | nestedRanksTest_weights(x, groups)
|
x |
Treatments, coerced to factor. Must contain two levels. |
groups |
Groups, coerced to factor, with elements in the same order
as for |
data.frame containing weights and other information for
each group: columns group, a factor of group names, also
used for row names; n1, n2, and n1.n2 for
integer group sizes in the first and second treatment levels and
their product; and numeric weights for the calculated
weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.