groupEffectParameters | R Documentation |
Perform pairwise comparisons of effect levels to determine which effects are indistinguishable from one another. By default, this is based on credible intervals. For people who do not want to, or cannot, use Bayes factors estimated with the Savage-Dickey density ratio, this function allows for another method of determining whether effects are present in the data. In addition, this allows for an analysis of which factor levels differ from one another.
groupEffectParameters(postEffects, method = "credInt", CIP = 0.95, priorEffects = NULL, equalBF = 3)
postEffects |
A matrix of posterior effect parameters, as from |
method |
The method to use. |
CIP |
Used if |
priorEffects |
Used if |
equalBF |
Used if |
Invisibly, a list with the following elements:
grp
: A matrix containing grouping information. All effects that share a letter are Indistinguishable. This is what is printed.
eqm
: A boolean matrix contining information about which effects were equal (indistinguishable). The value TRUE
indicates equality.
bf01
: If method == "BayesFactor"
, a matrix containing Bayes factors in favor of the hypothesis that the two effects were equal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.