Description Usage Arguments Value Author(s) References See Also Examples
Several exploratory plots are produced, after which this function calculates and plots the posterior densities of the treatment means and their differences. Pooled or separate variances can be specified. Note that this function uses Standard Improper Reference (SIR) priors.
1 2 |
formula |
the usual formula interface: response ~ factor |
data |
a data.frame containing the response and the factor variables |
var.equal |
should a pooled variance be used? Specify var.equal = FALSE if you want separate variances to be fitted |
alpha |
1 - level of credibility, so that for alpha = 0.05 (the default) credible intervals will have 95% credibility |
plotit |
are plots desired? |
r |
the number of samples of the posterior that should be taken |
none returned: the function is used for the plots and the printed information it produces
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
1 2 | data(PlantGrowth)
BnNsir(weight ~ group, PlantGrowth)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.